Skip to content

Button group

Joins related buttons into one control, horizontally or vertically.

Outline group

Split button

Vertical

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/button-group.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-btn-groupContainer. Merges the radii of its children.
mn-btn-group-verticalStacks the buttons.

Accessibility

  • Wrap with role="group" and an aria-label so the relationship is announced.
  • For a single-choice toggle use Toggle group instead.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page