Component docs
Loading
import { FilterBar } from "@pixxl-tools/components";
// In Server Components:
import { FilterBar } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
search | ReactNode | — | — |
actions | ReactNode | — | Action slot (buttons or links). |
filters | ReactNode | — | — |
searchReactNode
actionsReactNode
Action slot (buttons or links).
filtersReactNode
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<FilterBar search={<SearchField />} />