Button Group
Expanding Extras
A cluster that reveals rare actions to the right: details is laid out as a flex row, so the summary stays a cell of the group rather than a block heading.
What you can change
- the primary actions through actions
- the rare actions through extra
- the disclosure caption through moreLabel and the group name through label
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/buttongroup-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 --vibeui-buttongroup-035-* variables. It is a server component: the disclosure is held by details/summary, there is no client JS — the state, the keyboard and the "collapsed/expanded" announcement come from the browser. The technique is display:flex on the details itself: the summary then becomes a cell of the cluster, and the revealed buttons line up to the right of it in a shared row rather than as a block beneath it. The list marker is removed through list-style:none, ::marker and ::-webkit-details-marker. While the details is closed, the rounding of the right edge belongs to the summary; when open, it goes to the last extra button. The arrow rotates by [open].
Tags
- buttongroup
- details
- progressive
- toolbar
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…