Native <select> styled with the hl-select primitive, wrapped so a custom caret can be drawn purely in CSS. Native selects keep full mobile/keyboard behavior for free.
<select>
hl-select
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
Native
<select>styled with thehl-selectprimitive, wrapped so a custom caret can be drawn purely in CSS. Native selects keep full mobile/keyboard behavior for free.