Skip to main content
Version: Next

Listbox API

import { Listbox } from '@editora/ui-react';

Props​

PropTypeDescription
activeAttributestring
containerParentNode | null
directItemSelectorstring
itemRolestring
itemsHTMLElement[] | null
itemSelectorstring
onCollectionChange() => void

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-listbox>​

Listbox renders the ui-listbox custom element from @editora/ui-core, which can also be used without React.

Attributes: active-attribute

Events: select