Component recipes

Component recipe · Claude Design source

Button for Claude Design

Organic curved button with flowing vine-like borders and Art Nouveau poster aesthetic

Component anatomy

Organic curved button with flowing vine-like borders and Art Nouveau poster aesthetic

{
  "element": "button",
  "baseClasses": [
    "font-serif",
    "tracking-wide",
    "rounded-full",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Primary

bg-[#2d5016] text-[#f5f0e1] border-2 border-[#c9a227] shadow-md

Secondary

bg-[#f5f0e1] text-[#2d5016] border-2 border-[#2d5016]

Outline

bg-transparent text-[#c9a227] border-2 border-[#c9a227]

Size

select · 3 options

Full Width

boolean

Interaction states

{
  "hover": [
    "hover:bg-[#c9a227] hover:text-[#2d5016]",
    "hover:shadow-lg"
  ],
  "active": [
    "active:scale-95"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe