Component recipes

Component recipe · Claude Design source

Squiggle Divider for Claude Design

Divider with Memphis-style squiggly line pattern

Component anatomy

Divider with Memphis-style squiggly line pattern

{
  "element": "div",
  "baseClasses": [
    "w-full",
    "h-3",
    "bg-[url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2212%22%3E%3Cpath%20d%3D%22M0%206c5%200%205-6%2010-6s5%206%2010%206%205-6%2010-6%205%206%2010%206%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%223%22%2F%3E%3C%2Fsvg%3E')]",
    "bg-repeat-x bg-center",
    "my-4 md:my-6"
  ]
}

Variants and parameters

Default

Colorful

bg-[url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2212%22%3E%3Cpath%20d%3D%22M0%206c5%200%205-6%2010-6s5%206%2010%206%205-6%2010-6%205%206%2010%206%22%20fill%3D%22none%22%20stroke%3D%22%23ff6b6b%22%20stroke-width%3D%223%22%2F%3E%3C%2Fsvg%3E')] shadow-[0_4px_0px_#48dbfb]

Bold

h-4 bg-[url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2212%22%3E%3Cpath%20d%3D%22M0%206c5%200%205-6%2010-6s5%206%2010%206%205-6%2010-6%205%206%2010%206%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%225%22%2F%3E%3C%2Fsvg%3E')] shadow-[0_4px_0px_#ffd700]

Visible

boolean

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe