Component recipes

Component recipe · Claude Design source

Input for Claude Design

Rounded input with backdrop blur for card stack overlays

Component anatomy

Rounded input with backdrop blur for card stack overlays

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white/80",
    "backdrop-blur-sm",
    "border border-zinc-200",
    "rounded-xl",
    "text-zinc-900",
    "placeholder:text-zinc-400",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Solid

bg-white backdrop-blur-none

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:ring-2 focus:ring-purple-500/30",
    "focus:border-purple-400"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe