Components

Input

4px-radius text field matching the site's search and form controls.

Configurator

Usage

<Input placeholder="Search products…" />

Props

PropTypeDefaultDescription
typestring"text"Native input type (text, email, search, etc.).
placeholderstringPlaceholder text shown when empty.
disabledbooleanfalseDisables interaction and dims the field.
classNamestringAdditional classes, merged via tailwind-merge.
...propsInputHTMLAttributesAny native <input> attribute.

Do's and Don'ts

Do

  • ·Pair every input with a visible label or a clear placeholder — never rely on placeholder alone for required fields.
  • ·Use type="email" for email fields so mobile keyboards adapt.

Don't

  • ·Don't round the corners beyond the 4px token — sharp inputs match the rest of the form language.
  • ·Don't disable an input without also explaining why nearby (e.g. "Sold out").