Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Variable ComboboxWidgetConst

    ComboboxWidget: { Root: (props: ComboboxWidgetRootProps) => Element } = ...

    A combobox as compound parts, the selected item kept through @practic/persist: Root stores it and takes the items; the other parts are the styled Combobox ones (Input, Portal, Positioner, Popup, Empty, List, Item, ItemIndicator, …).

    Type Declaration

    <ComboboxWidget.Root items={fruits} data-key='practic_app_fruit' data-attr='value'>
    <Combobox.Input aria-label='Fruit' />
    <Combobox.Portal>
    <Combobox.Positioner sideOffset={4}>
    <Combobox.Popup>
    <Combobox.Empty>No fruit matches.</Combobox.Empty>
    <Combobox.List>
    {(fruit: string) => <Combobox.Item key={fruit} value={fruit}>{fruit}</Combobox.Item>}
    </Combobox.List>
    </Combobox.Popup>
    </Combobox.Positioner>
    </Combobox.Portal>
    </ComboboxWidget.Root>