Ui Kit
Getting StartedColorsTypography
Components
ActionsPanelAlertAutocompleteButtonCheckboxDropdownErrorPresenterFormGridGroupedListHeaderIconInputKeyValueLabelLabelActionLayoutLinkListBase usageSearchableNavigationPanelPageHeaderProgressRadioSelectSidePanelTabsTextAreaToggleTree
Changelog

List

options
ListOption[]
required
defaultSelected
ListOption[] | undefined
selectedOptions
ListOption[] | undefined
selectionMode
boolean | undefined
onSelectItem
((event: SyntheticEvent<HTMLElement, Event>, item: ListOption) => void) | undefined
onSelectedItemsChanged
((items: ListOption[]) => void) | undefined
renderHeader
((content: string) => ReactNode) | undefined
renderDescription
((content: string) => ReactNode) | undefined
onClickItem
((event: SyntheticEvent<HTMLElement, Event>, item: ListOption) => void) | undefined
className
string | undefined

Base usage

With icon

Selection mode

Selection mode with selectedOptions prop

Searchable

Base usage