Const<AutocompleteWidget.Root items={fruits} data-key='practic_app_search' data-attr='value'>
<Autocomplete.Input aria-label='Fruit' />
<Autocomplete.Portal>
<Autocomplete.Positioner sideOffset={4}>
<Autocomplete.Popup>
<Autocomplete.Empty>No fruit matches.</Autocomplete.Empty>
<Autocomplete.List>
{(fruit: string) => <Autocomplete.Item key={fruit} value={fruit}>{fruit}</Autocomplete.Item>}
</Autocomplete.List>
</Autocomplete.Popup>
</Autocomplete.Positioner>
</Autocomplete.Portal>
</AutocompleteWidget.Root>
An autocomplete as compound parts, the text kept through
@practic/persist:Rootstores it and takes the suggestions; the other parts are the styledAutocompleteones (Input,Portal,Positioner,Popup,Empty,List,Item, …).