Components
Filter Bar
The filters in effect, each removed with its ×, and Clear all.
Import
import { FilterBar, FilterChip } from '@rinzai/zen';API reference
<FilterBar>
The filters in effect, as chips each removed with its ×, and "Clear all" once there are two or more. Renders nothing when no filter is set.
| Prop | Type | Default |
|---|---|---|
clearLabel | ReactNode | Clear all |
onClearRemoves every filter; shown as "Clear all" once there are two or more. | (() => void) | — |
<FilterChip>
One filter in a FilterBar: what it is (e.g. "Amount: $50–$500"), and its × to remove it.
| Prop | Type | Default |
|---|---|---|
onRemoveRequired | () => void | — |
className | string | — |
removeLabelThe × button's name for screen readers, e.g. "Remove amount filter". | string | Remove filter |