Component recipes

Component recipe · Claude Design source

Input for Claude Design

Frosted glass input with soft focus

Component anatomy

Frosted glass input with soft focus

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white/50",
    "backdrop-blur-md",
    "border border-white/40",
    "text-sky-900",
    "placeholder:text-sky-600/50",
    "focus:outline-none",
    "rounded-xl",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-sky-300 focus:bg-white/70"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe