Component recipes

Component recipe · Claude Design source

Input for Claude Design

Rounded input for Z-pattern email subscription and lead capture

Component anatomy

Rounded input for Z-pattern email subscription and lead capture

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-white",
    "border border-gray-200",
    "rounded-xl",
    "text-[#0f172a]",
    "placeholder:text-gray-400",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Filled

bg-gray-50

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:ring-2 focus:ring-[#6366f1]/20",
    "focus:border-[#6366f1]"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed bg-gray-100"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe