Select Dropdown
React Bootstrap Select Dropdown - free examples & tutorial
Responsive React Select Dropdown built with Bootstrap 5. Examples include multiselect dropdown, select dropdown with search box, checkbox form select dropdown & more.
Note: To learn more about Select component and see all available options, methods, events and advanced usage - read Select Docs & API section
Basic dropdown with Select
Make sure to read the main Select docs to learn how to use this component in production.
Basic dropdown with MultiSelect
Add multiple
property to the select
element to allow selecting more than one value.
Select Dropdown with label
It is possible to add select label by setting the label
property.
Select Dropdown with placeholder
Use placeholder property to set placeholder
for select input.
The placeholder will be displayed when input is focused and no option is selected.
Disabled Select Dropdown
Make the select dropdown unclickable by adding the disabled
property.
Disabled options
Use disabled
key on option element to disable specific option.
Custom content
Custom content will be displayed at the end of the select dropdown. In this example we've added a button.
Visible options
Use visibleOptions
option to change the number of options that will be displayed
in the select dropdown without scrolling.
Secondary text
Add secondary-text
key to the specific options to display secondary text.
Select Dropdown with Search
Set search
property to enable options filtering.
Multiselect with icons
Add icon
property to the specific options to display the option icon.
Validation
Set validation
option to true
to enable component validation. The
validFeedback
and invalidFeedback
options allow to modify the
validation messages.