Component recipes

Component recipe · Claude Design source

Input for Claude Design

Dark-background contact input with bottom border and coral focus line — confident, minimal, inline with the dark studio aesthetic

Component anatomy

Dark-background contact input with bottom border and coral focus line — confident, minimal, inline with the dark studio aesthetic

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#333333]",
    "border-0 border-b-2 border-white/20",
    "text-white",
    "placeholder:text-white/40",
    "focus:outline-none",
    "transition-colors duration-300"
  ]
}

Variants and parameters

Default

Light

bg-[#F5F5F0] text-[#1A1A1A] placeholder:text-[#1A1A1A]/30 border-b-[#1A1A1A]/20 focus:border-[#FF6B6B]

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#FF6B6B]",
    "focus:ring-0"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe