The select component can have different shapes. Here is an example of a rounded
select.
Show codeHide code
Selects can have different sizes. Use the size
prop to change the size of the select component.
Show codeHide code
Selects can have different contrasts. Use the contrast
prop to change the contrast of the select component.
Show codeHide code
Selects can have different contrasts. Use the contrast
prop to change the contrast of the select component.
Show codeHide code
Selects can have different contrasts. Use the contrast
prop to change the contrast of the select component.
Show codeHide code
Selects can have option groups using the optgroup
element to wrap your options
.
Show codeHide code
Selects can have a configurable icon on the left side using the icon
prop. Make sure to pick meaningful icons for your use case.
Show codeHide code
Selects can be shown in an error state using the error
prop. Use the same prop to display an error message.
Show codeHide code
Selects can have a material design style floating label using the labelFloat
prop.
Show codeHide code
Selects can be shown in a loading state using the loading
prop.
Show codeHide code
Selects can be shown in a disabled state using the disabled
prop.
Show codeHide code
classes
Show exampleHide example
color-focus
Show exampleHide example
disabled
Show exampleHide example
error
Show exampleHide example
icon
Show exampleHide example
id
Show exampleHide example
label
Show exampleHide example
label-float
Show exampleHide example
loading
Show exampleHide example
placeholder
Show exampleHide example
rounded
@since
2.0.0
Show exampleHide example
contrast
Show exampleHide example
size
Show exampleHide example
#label
Show exampleHide example
#default
Show exampleHide example
#icon
Show exampleHide example
rounded
Show exampleHide example
contrast
Show exampleHide example
size
Show exampleHide example
el