Multi Selector
Multi-select dropdown with checkbox items and search filtering.
Generado a partir del código fuente público del paquete.
API
Contentcomponente
Content(props: MultiSelectorContentProps): Element
hijos: Element
Itemcomponente
Item(props: MultiSelectorItemProps): Element
Propiedades
disabled?boolean— Disabled state.textValue?string— Display/search text. Defaults to value.valuestring— Unique value for this item.
hijos: Element
ItemIndicatorcomponente
ItemIndicator(props: MultiSelectorItemIndicatorProps): Element
hijos: Element
MultiSelectorContentPropsinterfaz
hijos: Element
MultiSelectorItemIndicatorPropsinterfaz
hijos: Element
MultiSelectorItemPropsinterfaz
Propiedades
disabled?boolean— Disabled state.textValue?string— Display/search text. Defaults to value.valuestring— Unique value for this item.
hijos: Element
MultiSelectorRootPropsinterfaz
Propiedades
class?string— CSS class name.defaultOpen?boolean— Default open state when uncontrolled.defaultValue?string[]— Default selected keys (uncontrolled).disabled?boolean— Disabled state.id?string— Element id.invalid?boolean— Invalid state.name?string— Form field name for hidden input.onOpenChange?(open: boolean) => void— Called when open state changes.onValueChange?(values: string[]) => void— Called when selection changes.open?boolean— Controlled open state.placeholder?string— Placeholder text when no items are selected.readOnly?boolean— Read-only state.required?boolean— Required state.value?string[]— Controlled selected keys.
hijos: Element
MultiSelectorSearchInputPropsinterfaz
Propiedades
onValueChange?(value: string) => void— Called when search value changes.placeholder?string— Placeholder for the search input.value?string— Controlled search value.
MultiSelectorTagListPropsinterfaz
hijos: Element
MultiSelectorTagPropsinterfaz
Propiedades
valuestring— The value of the item this tag represents.
hijos: Element
MultiSelectorTagRemovePropsinterfaz
hijos: Element
MultiSelectorTriggerPropsinterfaz
Propiedades
aria-label?string— Accessible name for the combobox trigger. Required by ARIA for role="combobox".
hijos: Element
Rootcomponente
Root(props: MultiSelectorRootProps): Element
Propiedades
class?string— CSS class name.defaultOpen?boolean— Default open state when uncontrolled.defaultValue?string[]— Default selected keys (uncontrolled).disabled?boolean— Disabled state.id?string— Element id.invalid?boolean— Invalid state.name?string— Form field name for hidden input.onOpenChange?(open: boolean) => void— Called when open state changes.onValueChange?(values: string[]) => void— Called when selection changes.open?boolean— Controlled open state.placeholder?string— Placeholder text when no items are selected.readOnly?boolean— Read-only state.required?boolean— Required state.value?string[]— Controlled selected keys.
hijos: Element
SearchInputcomponente
SearchInput(props: MultiSelectorSearchInputProps): Element
Propiedades
onValueChange?(value: string) => void— Called when search value changes.placeholder?string— Placeholder for the search input.value?string— Controlled search value.
Tagcomponente
Tag(props: MultiSelectorTagProps): Element
Propiedades
valuestring— The value of the item this tag represents.
hijos: Element
TagListcomponente
TagList(props: MultiSelectorTagListProps): Element
hijos: Element
TagRemovecomponente
TagRemove(props: MultiSelectorTagRemoveProps): Element
hijos: Element
Triggercomponente
Trigger(props: MultiSelectorTriggerProps): Element
Propiedades
aria-label?string— Accessible name for the combobox trigger. Required by ARIA for role="combobox".
hijos: Element