Moey Icons
No results. Try “dialog”, “dark” or “grid”.
Components

Button group

Join buttons into one control. Works with every button color, strength and size.

Flat by default: filled buttons are separated by a 1px gap (the background shows through), outline buttons share their border. Give the group a role="group" and an aria-label.

<div class="btn-group" role="group" aria-label="Basic">
  <button class="btn">Left</button>
  <button class="btn">Middle</button>
  <button class="btn">Right</button>
</div>

Colors

Color the buttons like any button — btn-green, plus a strength if you like. Filled buttons keep their 1px gap; outline buttons share one border.

<div class="btn-group" role="group" aria-label="Status">
  <button class="btn btn-green btn-vivid">Left</button>
  <button class="btn btn-green btn-vivid">Middle</button>
  <button class="btn btn-green btn-vivid">Right</button>
</div>

Segmented control

A switch for views and filters: a tray with the selected item raised. Mark the selected button with .active or aria-pressed="true".

<div class="btn-group btn-group-segmented" role="group" aria-label="Range">
  <button class="btn">7 days</button>
  <button class="btn active" aria-pressed="true">30 days</button>
  <button class="btn">12 months</button>
</div>

Colored segmented control

Put a color on the group — btn-group-blue, btn-group-green… — and the selected item takes it, in the soft default fill. Add a strength to the group (btn-group-subtle, -soft, -solid, -vivid, -deep) for a lighter or stronger selection. The tray stays neutral.

<div class="btn-group btn-group-segmented btn-group-green btn-group-vivid" role="group" aria-label="Status">
  <button class="btn">All</button>
  <button class="btn active" aria-pressed="true">Paid</button>
  <button class="btn">Unpaid</button>
</div>

Toggles without JavaScript

Put a real radio or checkbox with .btn-check inside a button-styled <label>. The checked one shows as active, keyboard focus works, and the value submits with the form.

<div class="btn-group btn-group-segmented btn-group-blue" role="radiogroup" aria-label="Billing">
  <label class="btn"><input type="radio" class="btn-check" name="billing" checked> Monthly</label>
  <label class="btn"><input type="radio" class="btn-check" name="billing"> Yearly</label>
</div>

Sizes, vertical, toolbar

ClassWhat it does
.btn-group-xs -sm -lgSizes every button in the group
.btn-group-verticalStacks the buttons
.btn-toolbarA row of groups and buttons with consistent spacing
<div class="btn-toolbar">
  <div class="btn-group btn-group-sm" role="group" aria-label="Text">…</div>
  <div class="btn-group-vertical" role="group" aria-label="Stack">…</div>
</div>