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.
Choose a country…
United States
United Kingdom
Germany
France
Japan
India
Custom Select (searchable)
Set data-lp-searchable="true" to enable live filtering.
Search language…
English
Spanish
French
German
Japanese
Hindi
Chinese
No options found
Custom Select (multiple)
Set data-lp-multiple="true" to allow multi-selection as tags.
Pick your skills…
HTML
CSS
JavaScript
TypeScript
React
Vue
Svelte
Events
The custom Select emits three CustomEvents on the root element.
| Event | Fires when | event.detail |
|---|---|---|
lp:select:open | Dropdown opens | — |
lp:select:close | Dropdown closes | — |
lp:select:change | Selection changes | { value } |