search ESC

Selects

Two flavors — the native <select> styled with .lp-select-native, and the custom JS Select component (data-lp-component="select") with search, multi-select, and grouping.

Native select
Native sizes & states
Custom Select (single)

Adds a searchable dropdown with keyboard nav.

United States
United Kingdom
Germany
France
Japan
India
Custom Select (searchable)

Set data-lp-searchable="true" to enable live filtering.

English
Spanish
French
German
Japanese
Hindi
Chinese
No options found
Custom Select (multiple)

Set data-lp-multiple="true" to allow multi-selection as tags.

HTML
CSS
JavaScript
TypeScript
React
Vue
Svelte
Events

The custom Select emits three CustomEvents on the root element.

EventFires whenevent.detail
lp:select:openDropdown opens
lp:select:closeDropdown closes
lp:select:changeSelection changes{ value }