Component recipes

Component recipe · Claude Design source

Input for Claude Design

Dark monospace input for parameters

Component anatomy

Dark monospace input for parameters

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#0a0a0a]",
    "border border-neutral-800",
    "text-white",
    "placeholder:text-neutral-500",
    "focus:outline-none",
    "font-mono",
    "rounded-md",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-violet-500"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe