A form control element used to select from several provided options and enter data.

installyarn add @clayui/form
versionNPM Version
useimport {ClaySelect, ClaySelectWithOption} from '@clayui/form';

Select Menu

Snippet

Disabled

Snippet

Size

Snippet

Multiple

Snippet

Sm

Snippet

Lg

Snippet

Other Elements

The classes form-control form-control-select can be used to style various HTML elements like a select element. An example for this use case is a dropdown menu that is trigged by a select element.

ReallySuperInsanelyJustIncrediblyLongAndTotallyNotPossibleWordButWeAreReallyTryingToCoverAllOurBasesHereJustInCaseSomeoneIsNutsAsPerUsualReallySuperInsanelyJustIncrediblyLongAndTotallyNotPossibleWordButWeAreReallyTryingToCoverAllOurBasesHereJustInCaseSomeoneIsNutsAsPerUsualReallySuperInsanelyJustIncrediblyLongAndTotallyNotPossibleWordButWeAreReallyTryingToCoverAllOurBasesHereJustInCaseSomeoneIsNutsAsPerUsual

Snippet

Edit this page on GitHub

Contributors

Matuzalém Teles, Patrick Yeo

Last edited May 9, 2025 at 6:15:38 AM