A dropdown menu that lets users choose one option from a list of choices.
| Property | Description | Type |
|---|---|---|
label | Adds a label above the select element. | string |
placeholder | Provides a subtle hint within the select. | string |
options | Specifies the list of options availble in the select. | { value: string, label: string }[] |
name | Sets the name HTML attribute to the select element. | string |
expanded | Allows the select element to stretch to full width. | boolean |
required | Makes the input a required field and styles the label with a red asterisk. | boolean |
disabled | Makes the select inaccessible. | boolean |
error | Adds an error message below the select. | string |
hint | Adds a hint below the select. | string |