Component recipes

Component recipe · Claude Design source

Input for Claude Design

Editorial floating-label input with bottom border only

Component anatomy

Editorial floating-label input with bottom border only

{
  "element": "input",
  "baseClasses": [
    "w-full",
    "border-b border-[#1C1C1C]/20",
    "bg-transparent",
    "rounded-none",
    "font-serif text-xl",
    "focus:outline-none",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Default

Emphasized

border-[#1C1C1C]/40

Size

select · 3 options

Interaction states

{
  "focus": [
    "focus:border-[#1C1C1C]"
  ],
  "disabled": [
    "opacity-40 cursor-not-allowed"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe