Toggle Group
Channel Group
Multi-select notification channels as wide toggle cards: the note under each name is attached with aria-describedby instead of being folded into the button name.
What you can change
- the group name through label
- the empty-selection copy through emptyNote
- the initial set of channels through defaultValue
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/togglegroup-006?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
One file, zero dependencies, the --vibeui-togglegroup-006-* palette. Client component: useState for the array and useId for the description identifiers. Every card is a button with a short aria-label and an aria-describedby pointing at its own note: the name stays short while the detail arrives as a separate utterance. Selection is drawn with an inset box-shadow ring rather than a thicker border: changing the border width would change the inner size and the grid would twitch on every click. The layout is auto-fit minmax, so the cards rearrange themselves according to the panel width.
Tags
- togglegroup
- cards
- notifications
- multiple
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…