Molecule

FilterPanel

Full filter rail: one or more FilterPanelSections plus an Apply button. Used as the left-rail filter in FundsScreener. Emits section.ks-filter-panel.

Knobs
Density
Locale
Live Preview
Asset Class
Equity
Bond
Balanced
Currency
EUR
USD
Code (Katagami DSL)
FilterPanel {
  FilterPanelSection(title: "Asset Class") {
    FilterPanelOption(label: "Equity")
    FilterPanelOption(label: "Bond")
    FilterPanelOption(label: "Balanced")
  }
  FilterPanelSection(title: "Currency") {
    FilterPanelOption(label: "EUR")
    FilterPanelOption(label: "USD")
  }
  Button("Apply") { viewModel.applyFilters() }
}
Props
NameTypeDefaultDescription
sections[FilterPanelSection][]Filter group definitions
onApply() -> VoidClosure called on Apply tap
densityDensitycomfortablecomfortable | compact | dense
localeLocaleenen | fr
Used In