Skip to content

Button groups

Walkthrough · All levels

Group related actions with button groups and toolbars, including sizing and alignment.

Use button groups to combine related actions into a single connected control, keeping spacing and alignment consistent.

Button groups combine related actions into a single connected control. The wrapper controls layout; the buttons inside control styling and states.

Use Size to make the whole group larger or smaller. This matches Bootstrap’s sizing guidelines (sm / default / lg).

Enable Vertical when you want stacked buttons (useful for narrow sidebars or compact tool panels).

Use Aria Label to describe what the group represents (for example, “View mode” or “Text alignment”).

Button groups handle layout; you still style each button (variant, size, disabled/active) like a normal button.

Buttons inside a group still behave like normal buttons—this is where you review variant and state options.

Use Style to switch between solid/outline variants and semantic colors (primary, secondary, success, etc.).

Use Active when the button represents the currently selected option (for example, “Week” in a Day/Week/Month switcher).

Continue with other Components tours or return to the Components menu.