Filters
InputComposable filter builder with text, select, and number filter types.
FiltersInput · Web
Loading Storybook preview…
Installation
bun add @otfdashkit/ui
Usage
Import Filters from @otfdashkit/ui.
Code
// Filters — Composable filter builder with text, select, and number filter types.
//
// Install:
// bun add @otfdashkit/ui
import { Filters } from '@otfdashkit/ui'
export function Example() {
return (
<Filters>
{/* your content */}
</Filters>
)
}Props
Props declared in the Filters source. Inherited HTML attributes are not listed.
| Prop | Type | Default | Description |
|---|---|---|---|
| filtersrequired | FilterDef[] | ||
| onChangerequired | (v: FilterValue[]) => void | ||
| valuerequired | FilterValue[] | ||
| className | string |