Component recipes

Component recipe · Claude Design source

Divider for Claude Design

Organic decorative divider with warm hairline and terracotta or olive dots, like a natural section break in a sketchbook

Component anatomy

Organic decorative divider with warm hairline and terracotta or olive dots, like a natural section break in a sketchbook

{
  "element": "div",
  "baseClasses": [
    "flex items-center justify-center gap-2",
    "w-full"
  ],
  "children": [
    {
      "element": "span",
      "classes": [
        "flex-1",
        "h-px",
        "bg-[#D4BFA5]",
        "opacity-50"
      ],
      "slot": "lineLeft"
    },
    {
      "element": "span",
      "classes": [
        "inline-block",
        "rounded-full"
      ],
      "slot": "dot"
    },
    {
      "element": "span",
      "classes": [
        "flex-1",
        "h-px",
        "bg-[#D4BFA5]",
        "opacity-50"
      ],
      "slot": "lineRight"
    }
  ]
}

Variants and parameters

Terracotta

w-2 h-2 bg-[#C86A4A]/40

Olive

w-2 h-2 bg-[#7A8B5E]/40

Double Dot

w-1.5 h-1.5 bg-[#C86A4A]/30

Size

select · 3 options

Related base style

Fixed-version source · reviewed before publishingNext component recipe