Skip to content
Hazine

Color and swatch pickers

0 of 3 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.

Planned 3

  • Swatch Radio Grid

    Preset palette only: swatches are radios with text names, the selected name is printed beside the group label, and unavailable swatches get a diagonal strike plus aria-disabled.

  • Hex Colour Input with Preview

    Free-form entry by typing: accepts 3, 6 and 8 digit hex, normalises on blur, reports invalid values inline and shows the measured contrast as text.

  • Design Token Colour Picker

    Selects a named token, not a raw value: rows are grouped by role (surface, text, border, status including the Hazine success, warning and info tokens) and previews show both themes at once.