Genesis
@stable

FilterCombobox

FilterCombobox — a filter bar's multi-select: any number of values, each with its count, an "All" row that clears them, and a trigger that names the one chosen or says how many. For a form field that picks one value and shows it, use `Combobox`; neither is a subset of the other, and both are Command in a Popover.

packages/ui/src/components/data/FilterCombobox.tsx

Import
Subpath export: @marktiderman/genesis-ui/data
import { FilterCombobox } from "@marktiderman/genesis-ui/data";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

FilterCombobox

FilterCombobox — a filter bar's multi-select: any number of values, each with its count, an "All" row that clears them, and a trigger that names the one chosen or says how many. For a form field that picks one value and shows it, use `Combobox`; neither is a subset of the other, and both are Command in a Popover.

PropTypeDefaultDescription
icon*LucideIcon—
label*string—
onChange*(selected: string[]) => void—
options*FilterOption[]—
selected*string[]—
allLabelstring—
labelMapRecord<string, string>—Optional map of value -> display label
searchPlaceholderstring—