Component recipes

Component recipe · Claude Design source

Input for Claude Design

Clean bordered input for timeline date filtering

Component anatomy

Clean bordered input for timeline date filtering

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white",
    "border border-zinc-200",
    "rounded-lg",
    "text-slate-900",
    "placeholder:text-zinc-400",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Filled

bg-slate-50 border-slate-200

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:ring-2 focus:ring-blue-500/20",
    "focus:border-blue-500"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed bg-zinc-50"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe