Button Group
Icon Action Group
A group of bare icons where every button still has a name: the caption sits as real text for screen readers, and a visible tooltip appears on hover and on focus.
What you can change
- the buttons and their names through actions
- the accessible group name through label
- the shape of the edge buttons through shape
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-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
The component is self-contained: one file, no dependencies, its own palette in the --vibeui-buttongroup-006-* variables. It is a server component: there are no hooks. The button name is real text inside it hidden with clip-path:inset(50%): a screen reader reads it and find-in-page reaches it, unlike aria-label. The visible tooltip is a separate aria-hidden node, otherwise the name would be read twice; it is shown both on :hover and on :focus-visible. The borders are collapsed through margin-inline-start:-1px, the rounded corners are set with logical properties on the edge buttons, and the shape is switched by the data-shape attribute. On focus a button is raised to z-index:2, otherwise a neighbour clips the ring.
Tags
- buttongroup
- icons
- tooltip
- a11y
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…