Multi Select

View in Lexicon

Multi select is the field type that allows writing text to create “tags” that are represented in the shape of labels.

installyarn add @clayui/multi-select
versionNPM Version
useimport MultiSelect from '@clayui/multi-select';
Don’t forget to check WAI-ARIAaccessibility pratices for grids when writting your markup.
Don’t forget to check WAI-ARIAaccessibility pratices for search when writting your markup.

Example

This requires external javascript to populate, add labels, and show/hide the dropdown-menu.

Snippet

Labels

Snippet

Loading

Snippet

Contenteditable Elements

Snippet

Sizes

Small

The modifier class form-control-tag-group-sm on form-control-tag-group will render a smaller version of Clay Multi Select.

Snippet

For variations with buttons, the modifier classes input-group-sm or form-group-sm can be added to input-group or form-group, respectively.

Snippet

Snippet

Edit this page on GitHub

Contributors

Matuzalém Teles

Last edited May 12, 2025 at 7:56:02 PM