Component recipes

Component recipe · Claude Design source

Sticky Note for Claude Design

Sticky note card with slight rotation and shadow

Component anatomy

Sticky note card with slight rotation and shadow

{
  "element": "div",
  "baseClasses": [
    "rounded-sm",
    "font-sans",
    "shadow-[3px_3px_8px_rgba(0,0,0,0.15)]",
    "transition-all duration-200 ease-in-out",
    "relative"
  ]
}

Variants and parameters

Yellow

bg-[#ffd93d] text-[#2c2c2c] p-4 md:p-6

Pink

bg-[#ff6b6b]/80 text-[#fffef5] p-4 md:p-6

Blue

bg-[#4ecdc4]/80 text-[#fffef5] p-4 md:p-6

Green

bg-[#a8e6cf] text-[#2c2c2c] p-4 md:p-6

Rotation

select · 3 options

Interaction states

{
  "hover": [
    "hover:rotate-0",
    "hover:shadow-[4px_4px_12px_rgba(0,0,0,0.2)]",
    "hover:-translate-y-1"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe