Button Group
Busy Segment
An action cluster with one button busy: the caption fades, the ring lands in the same grid cell, and the group's width never changes.
What you can change
- the set of actions through actions
- the caption of the busy button through busy
- the progress text through busyLabel 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-032?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-032-* variables. It is a server component: the busy state arrives through the busy prop, there are no hooks. The button is laid out with display:grid, and the caption and the ring occupy the same cell (grid-area:1 / 1), so swapping the text for "Saving…" does not stretch the group — only the opacity changes. The busy button gets aria-busy and disabled: disabled removes the repeated press, aria-busy explains that the button is not broken. A role="status" live region reports the work in words — a spinning ring is invisible to a blind user. The rotation animation is described by @keyframes and is killed by the prefers-reduced-motion rule.
Tags
- buttongroup
- loading
- aria-busy
- actions
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…