1 | |
A responsive native dropdown matching Figma Select's Rest and Hover states, with a permanent component-owned Central chevron.
| Prop | Type | Default |
|---|---|---|
name
HTML name attribute.
|
String | nil |
value
Currently-selected option value (matched as a string).
|
String | nil |
options
Either `[[label, value], …]` pairs or `[{label:, value:}, …]` hashes.
|
Array | [] |
placeholder
Optional — rendered as a disabled hidden first option and pre-selected when `value` is blank.
|
String | nil |
disabled
Disables the control.
|
Boolean | false |
**html_options
Extra attributes for the <select> (id, class, data-*, …).
|
Hash | — |