View as Markdown

API reference: @salmonui/dropdowns/listbox

Listboxcomponent

import { Listbox } from '@salmonui/dropdowns/listbox';
function Listbox<T>(props: ListboxProps<T>): ReactNode;

A persistent list of options (WAI-ARIA APG listbox) with single or multiple selection. ref receives the role="listbox" element.