{
  "name": "color-picker-swatches",
  "kind": "block",
  "primary": "section",
  "page": "/catalog/ui-patterns/v053-coverage-fill/v053-coverage-fill.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {},
  "html": "<section>\n    <card-ui>\n      <header>\n        <text-ui strong>Accent color</text-ui>\n        <text-ui size=\"sm\" color=\"subtle\">OKLCH or pick a preset</text-ui>\n      </header>\n      <section>\n        <col-ui gap=\"3\">\n          <color-picker-ui format=\"oklch\"></color-picker-ui>\n          <col-ui gap=\"2\">\n            <text-ui size=\"sm\" color=\"subtle\">Presets</text-ui>\n            <row-ui gap=\"2\" wrap>\n              <swatch-ui color=\"oklch(0.62 0.18 240)\" size=\"md\"></swatch-ui>\n              <swatch-ui color=\"oklch(0.65 0.20 25)\" size=\"md\"></swatch-ui>\n              <swatch-ui color=\"oklch(0.70 0.15 145)\" size=\"md\"></swatch-ui>\n              <swatch-ui color=\"oklch(0.75 0.10 80)\" size=\"md\"></swatch-ui>\n              <swatch-ui color=\"oklch(0.55 0.20 320)\" size=\"md\"></swatch-ui>\n              <swatch-ui color=\"oklch(0.50 0.15 0)\" size=\"md\"></swatch-ui>\n            </row-ui>\n          </col-ui>\n        </col-ui>\n      </section>\n    </card-ui>\n  </section>",
  "source": "catalog/ui-patterns/v053-coverage-fill/v053-coverage-fill.contents.html",
  "metadata": {
    "domain": "forms",
    "description": "Color picker with OKLCH input + preset swatch palette. Click a swatch to apply; manual input edits the picker.",
    "keywords": [
      "color",
      "picker",
      "swatch",
      "palette",
      "oklch",
      "hex",
      "preset",
      "accent",
      "token",
      "chooser"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "text",
      "component": "Text",
      "strong": true,
      "textContent": "Accent color"
    },
    {
      "id": "text-2",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "OKLCH or pick a preset"
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "text",
        "text-2"
      ]
    },
    {
      "id": "color-picker",
      "component": "ColorPicker",
      "format": "oklch"
    },
    {
      "id": "text-3",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Presets"
    },
    {
      "id": "column-3",
      "component": "Column"
    },
    {
      "id": "column-4",
      "component": "Column"
    },
    {
      "id": "column-5",
      "component": "Column"
    },
    {
      "id": "column-6",
      "component": "Column"
    },
    {
      "id": "column-7",
      "component": "Column"
    },
    {
      "id": "column-8",
      "component": "Column"
    },
    {
      "id": "row",
      "component": "Row",
      "gap": "2",
      "wrap": true,
      "children": [
        "column-3",
        "column-4",
        "column-5",
        "column-6",
        "column-7",
        "column-8"
      ]
    },
    {
      "id": "column-2",
      "component": "Column",
      "gap": "2",
      "children": [
        "text-3",
        "row"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "3",
      "children": [
        "color-picker",
        "column-2"
      ]
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "card",
      "component": "Card",
      "children": [
        "header",
        "section"
      ]
    },
    {
      "id": "root",
      "component": "Section",
      "children": [
        "card"
      ]
    }
  ]
}
