Skip to content
Menu

Buttons

Joined Button Group

Joined Button Group: A row of buttons fused edge to edge into one segmented control, with shared seams that brighten between whichever two buttons are hovered or pressed.

Using Joined Button Group

Joined Button Group uses the inline preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
orientationselecthorizontalOptions: horizontal, vertical
buttonCountnumber3From 2 to 5; step 1
accentcolor#38BDF8No additional limit in the metadata.
Which frameworks are available for Joined Button Group?

Joined Button Group is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Joined Button Group depend on?

The React metadata lists these npm dependencies beyond React: class-variance-authority, clsx, tailwind-merge.

What accessibility details are visible in Joined Button Group?

The React source for Joined Button Group includes: native elements (button); attributes and handlers (aria-orientation, aria-pressed); explicit roles (group). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Joined Button Group handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Joined Button Group's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components