Components

badge · 3 exports

Badge

Two jobs, two colour rules. A status badge is fixed — ok is always green, down always danger — because an operator reads colour as meaning. A label badge seeds its hue from id or its text, so the same tag is the same colour everywhere.

all componentssource Badge.jsx · Badge.d.ts