React Select Component

Select

Rocket
New Year sale. Skyrocket your business in 2025!
Extra 25% off for all sale items + Free CoreUI Icons PRO with every order!
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.

React select component. Customize the native `<select>`s with custom CSS that changes the element's initial appearance.

Other Frameworks

CoreUI components are available as native Angular, Bootstrap (Vanilla JS), and Vue components. To learn more please visit the following pages.

On this page

Default#

You can also add options manually

<CFormSelect aria-label="Default select example">
<option>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3" disabled>Three</option>
</CFormSelect>

Sizing#

You may also choose from small and large custom selects to match our similarly sized text inputs.

The multiple attribute is also supported:

As is the htmlSize property:

Disabled#

Add the disabled boolean attribute on a select to give it a grayed out appearance and remove pointer events.

API#

Check out the documentation below for a comprehensive guide to all the props you can use with the components mentioned here.