Btns Component

Button group with shapes, sizes, widths, directions, flush mount, and grid layout.

Notes

Basic usage

Default btns

Link A Link C Link B

Disabled item

With icons

Shapes

Default

Rounded (.btns-rounded)

Circle (.btns-pill)

Square (.btns-square)

Fluid (.btns-fluid)

Shape comparison

Width

Grid (.btns-full) — equal width

Scale (.btns-scale) — fixed width

Scale multiplier (.btns-scale-2) — 2x width

Scale custom (.btns-scale-[3]) — 3x width

Button ratio (.btn-ratio) — 1:1 square

Custom button ratio (.btn-ratio-*) — N:1

Direction

Bottom (default)

Top (.btns-top)

Start (.btns-start) — vertical, left-to-right

End (.btns-end) — vertical, right-to-left

Flush mount

Bottom flush (.btns-flush)

Top flush (.btns-top.btns-flush)

Start flush (.btns-start.btns-flush) — vertical left

End flush (.btns-end.btns-flush) — vertical right

Sizes (btns-4 ~ btns-15)

Extra small: 4 ~ 7

Small: 8 ~ 9

Medium: 10 ~ 11

Large: 12 ~ 13

Extra large: 14 ~ 15

All sizes (4 ~ 15)

Use cases

Segmented control

View switcher

Equal-width nav

Vertical nav

Flush tab bar

Size + shape combo

Note: Child buttons within .btns support all btn-* utilities (variants, colors, shapes, sizes, widths such as btn-ratio, btn-ratio-*, etc.). See the Button demo for details.