Select
Multi-Select with Apply
Check boxes edit a draft, not the field: the ticked values slide into the field as chips only on Apply, the counter under the list keeps naming how many are ticked, and Reset clears them all at once.
What you can change
- the options through options — value, label and the short right-hand hint
- the field label through label and the empty-field text through placeholder
- the button captions through applyLabel and resetLabel
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/select-035?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, its own palette in the local --vibeui-select-035-* variables. The rows are real <input type="checkbox"> elements inside <label>: Space, state announcement and keyboard handling come from the browser, no role is assembled by hand. There are two states: applied — what the field shows as chips and what the form submits — and draft, the working set inside the list. Opening copies applied into the draft, Apply moves the draft back and closes the list, Reset unticks everything, and Esc rolls the draft back to the applied set. The counter under the list is marked aria-live="polite", so the number of ticked rows is announced as you work. Chips live inside the field and wrap onto a second line; the field's height is set by its content. When name is set, one hidden input per value is submitted. The open prop expands the list in page flow — a showcase mode for the catalogue card, with no light dismiss.
Tags
- select
- multiselect
- checkbox
- filter
- chips
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…