Skip to content

ComboboxItem

type ComboboxItem = {
append?: ReactNode;
children?: ComboboxItem[];
dot?: boolean;
id: string;
isSelectableParent?: boolean;
label: string;
prepend?: ReactNode;
solid?: boolean;
value?: unknown;
variant?: ComboboxTagVariant;
};
Property Type Description
append? ReactNode Optional element to append to the item.
children? ComboboxItem[] Used to add a folder structure to the items.
dot? boolean :::caution[Deprecated] The dot is no longer rendered. Prop will be removed in the next major version. :::
id string Unique id of the item. Required for search to work as expected.
isSelectableParent? boolean Used to make a parent selectable
label string The searchable text label of the item.
prepend? ReactNode Optional element to prepend to the item.
solid? boolean Makes the tag color theme appear stronger (solid style).
value? unknown Optional value of the item.
variant? ComboboxTagVariant Used to display the item with a different color scheme.