Component recipes

Component recipe · Claude Design source

Input for Claude Design

Frosted field legible over the gradient

Component anatomy

Frosted field legible over the gradient

{
  "element": "input",
  "baseClasses": [
    "bg-white/[0.06] backdrop-blur-xl",
    "border border-white/12",
    "rounded-xl",
    "px-4 py-3",
    "text-white placeholder-white/40",
    "focus:outline-none focus:border-[#7C5CFF]/70 focus:bg-white/[0.09] focus:ring-2 focus:ring-[#7C5CFF]/25",
    "transition-all duration-300"
  ]
}

Variants and parameters

Glass

Solid

bg-[#12131A] border-white/10 backdrop-blur-none

Full Width

boolean

Interaction states

{
  "focus": []
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe