Component recipes

Component recipe · Claude Design source

Input for Claude Design

Borderless Notion-style input with bottom underline on focus and clean typography

Component anatomy

Borderless Notion-style input with bottom underline on focus and clean typography

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "bg-transparent",
    "border-0 border-b border-transparent",
    "rounded-none",
    "text-gray-900",
    "placeholder:text-gray-400",
    "focus:outline-none",
    "transition-all duration-150"
  ]
}

Variants and parameters

Default

Bordered

border border-gray-200 rounded-md px-3

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-b-[#2383e2]",
    "focus:border-b-2"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe