Component recipes

Component recipe · Claude Design source

Doodle Border for Claude Design

Container with hand-drawn wavy border effect

Component anatomy

Container with hand-drawn wavy border effect

{
  "element": "div",
  "baseClasses": [
    "bg-[#fffef5]",
    "rounded-sm",
    "transition-all duration-200 ease-in-out",
    "relative"
  ]
}

Variants and parameters

Default

border-2 border-dashed border-[#2c2c2c] shadow-[3px_3px_0px_#4ecdc4]

Thick

border-4 border-dashed border-[#2c2c2c] shadow-[4px_4px_0px_#ff6b6b]

Dotted

border-2 border-dotted border-[#2c2c2c] shadow-[3px_3px_0px_#ffd93d]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[5px_5px_0px_#4ecdc4]",
    "hover:rotate-[0.3deg]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe