Component recipes

Component recipe · Claude Design source

Forest Panel for Claude Design

Panel with Ghibli forest/nature aesthetic and warm earthy tones

Component anatomy

Panel with Ghibli forest/nature aesthetic and warm earthy tones

{
  "element": "div",
  "baseClasses": [
    "bg-[#faf5eb]",
    "rounded-[40%_60%_55%_45%/50%_45%_55%_50%]",
    "border-2 border-[#8B7355]/15",
    "bg-[repeating-linear-gradient(0deg,transparent,transparent_20px,rgba(139,115,85,0.03)_20px,rgba(139,115,85,0.03)_21px)]",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

bg-[linear-gradient(180deg,#c8e6c9_0%,#e8f5e9_35%,#faf5eb_100%)] shadow-[0_8px_32px_rgba(139,115,85,0.12),inset_0_-20px_40px_rgba(139,115,85,0.04)]

Enchanted

bg-[linear-gradient(180deg,#b2dfdb_0%,#e0f2f1_40%,#f1f8e9_100%)] border-[#4caf50]/20 shadow-[0_8px_32px_rgba(76,175,80,0.15),inset_0_0_60px_rgba(76,175,80,0.05)]

Autumn

bg-[linear-gradient(180deg,#ffe0b2_0%,#fff3e0_40%,#faf5eb_100%)] border-[#B8860B]/20 shadow-[0_8px_32px_rgba(184,134,11,0.12),inset_0_-20px_40px_rgba(184,134,11,0.04)]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[0_8px_30px_rgba(139,115,85,0.2)]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe