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
rounded@since
2.0.0
@default
'sm'
Show exampleHide example
size@default
'md'
Show exampleHide example
labelShow exampleHide example
idShow exampleHide example
contrast@default
'default'
Show exampleHide example
classesShow exampleHide example
iconShow exampleHide example
placeholderShow exampleHide example
errorShow exampleHide example
loadingShow exampleHide example
disabledShow exampleHide example
label-floatShow exampleHide example
#labelShow exampleHide example
#defaultShow exampleHide example
#iconShow exampleHide example
el