Skip to content

FilterBar

stable

Filter toolbar with chip toggles for financial data views

FinanceInteractive/Storybook ↗
import { FilterBar } from "@danagraph/design-system/finance"
Loading demo…

Props

chipsrequired
Type FilterChip[]Default —

Filter chips ({ id, label, active? })

onTogglerequired
Type (chipId: string, active: boolean) => voidDefault —

Called when a chip is toggled

leading
Type ReactNodeDefault —

Optional leading content (e.g. search input)

trailing
Type ReactNodeDefault —

Optional trailing content (e.g. export button)

multiSelect
Type booleanDefault true

Allow multiple chips active simultaneously

density
Type "default" | "compact"Default —

Display density

semantictypebordersurfaceoutcomemotion
MobileTouch Target

Each filter chip/button must be ≥44px. On mobile, collapse filter bar into a 'Filters' button that opens a bottom sheet with all filter options.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?