Component recipes

Component recipe · Claude Design source

Input for Claude Design

Dark Art Deco input with gold border and serif placeholder

Component anatomy

Dark Art Deco input with gold border and serif placeholder

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-gray-900",
    "border border-[#D4AF37]/50",
    "text-[#f5f5dc]",
    "font-serif",
    "tracking-wider",
    "placeholder:text-[#D4AF37]/40",
    "focus:outline-none",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Gold Border

border-[#D4AF37]

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#D4AF37]",
    "focus:shadow-[0_0_15px_rgba(212,175,55,0.2)]"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe