Component recipes

Component recipe · Claude Design source

Input for Claude Design

Pastel App UI style input

Component anatomy

Pastel App UI style input

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-[#fff8f0]",
    "border border-[#66508f]/30",
    "rounded-lg",
    "text-[#66508f]",
    "font-normal",
    "placeholder:text-[#66508f]/40",
    "focus:outline-none",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#66508f]",
    "focus:ring-1 focus:ring-[#66508f]/30"
  ],
  "disabled": [
    "opacity-50 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe