title | metaTitle | metaDescription | githubUrl |
---|---|---|---|
Select |
Bootstrap 5 Select - Bootstrap CSS tutorial |
Bootstrap 5 Select is a component in our Contrast that displays a collapsible list of numerous values following a click. It may be used in forms, menus, and surveys." |
Bootstrap 5 Select is a component in our Contrast that displays a collapsible list of options. It may be used in forms, menus, and surveys.
Use the ↑
and ↓
arrow keys to browse between the options, and the ↵
key to choose the appropriate item with our Contrast Bootstrap 5 Select (does not works for stateless select).
To access Contrast Bootstrap 5 Select predefined styling, use the select
class. To have colored select components in your project, you can use a select class and append the color code you want to it.
<select class="select select-success">
<option><div>Select..</div></option>
<option value="1"><div>One</div></option>
<option value="2"><div>Two</div></option>
<option value="3"><div>Three</div></option>
</select>