The select component is used to create a dropdown list that allows users to select one option from a set of choices.
<select class="form-select large">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
Class | Description |
---|---|
.form-select | Defines the select dropdown styling. |
.small | Applies small size styling. |
.medium | Applies medium size styling. |
.large | Applies large size styling. |