Component recipes

Component recipe · Claude Design source

Input for Claude Design

Gothic-styled input with ornate border and dark surface

Component anatomy

Gothic-styled input with ornate border and dark surface

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "border-2 border-[#c9a227]/30",
    "bg-[#0a0a0a]/80",
    "text-[#c9a227]",
    "placeholder:text-[#c9a227]/30",
    "font-serif",
    "focus:outline-none",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Blood

border-[#8b1a1a]/50 text-[#8b1a1a] placeholder:text-[#8b1a1a]/30

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#c9a227]",
    "focus:shadow-[0_0_16px_rgba(201,162,39,0.3)]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe