Buoy Component

Dual-segment badge (label + value) with variants, theme colors, shapes, and sizes.

Notes

Basic usage

Default buoy

Versionv2.1.0
Downloads12.5k
BuildPassed

Reverse (.buoy-reverse) — swaps segment colors

Versionv2.1.0
BuildPassed

Empty label — auto hidden

Value only

Variants

Default

Versionv2.1.0

Outline (.buoy-outline) — light tint

Versionv2.1.0

Muted (.buoy-muted) — thin border

Versionv2.1.0

Solid (.buoy-solid) — dark fill

Versionv2.1.0

Theme colors

Primaryv1
Secondaryv1
Tertiaryv1
Successv1
Errorv1
Infov1
Warningv1
Highlightv1
Cautionv1
Inkv1
Titlev1
Descriptionv1
Captionv1
Placeholderv1

Shorthand compound variants

Outline (.buoy-outline-*)

Primaryv1
Successv1
Errorv1

Muted (.buoy-muted-*) — thin border

Primaryv1
Successv1
Errorv1

Subtle (.buoy-subtle-*) — borderless tint

Primaryv1
Successv1
Errorv1

Solid (.buoy-solid-*) — dark fill

Primaryv1
Successv1
Errorv1

Custom colors

Multiple color formats are supported:

Default variant

green-200ok
green-500ok
[blue]ok

Solid variant

green-200ok
green-500ok
[blue]ok

Outline variant

green-500ok
[blue]ok

Subtle variant

green-500ok
[blue]ok

Muted variant

green-500ok
[blue]ok

Shapes

Rounded (.buoy-rounded)

Versionv1

Fluid (.buoy-fluid)

Versionv1

Square (.buoy-square) — sharp corners

Versionv1

Circle (.buoy-pill) — pill shape

Versionv1

Sizes (buoy-4 ~ buoy-15)

buoy-4

Versionv1

buoy-5

Versionv1

buoy-6

Versionv1

buoy-7

Versionv1

buoy-8

Versionv1

buoy-9

Versionv1

buoy-10

Versionv1

buoy-11

Versionv1

buoy-12

Versionv1

buoy-13

Versionv1

buoy-14

Versionv1

buoy-15

Versionv1