Pulse
Pulse

Components

Input

A labeled text field: label, input, and helper/error text as one unit. Focus uses the global :focus-visible ring — no separate focus styling to maintain.

Playground

Size

Error

Disabled

Leading icon

Trailing icon

States

We'll never share your email.

Enter a valid email address.

Tab to the Default field above to see the keyboard-focus ring live.

Sizes

Icons

Props

PropTypeDefaultDescription
labelstring—Optional label above the field.
helperTextstring—Optional supporting text below the field.
errorstring—Error message; when set, overrides helperText and switches border/text to feedback-danger.
size"sm" | "md""md"Padding and type size.
leadingIconReactNode—Decorative icon inside the field on the left; the field's own padding adjusts to make room.
trailingIconReactNode—Decorative icon inside the field on the right.
disabledbooleanfalseStandard HTML disabled state.
...restInputHTMLAttributes—value, onChange, placeholder, type, and any other native input prop.

Usage Guidelines

When to use

  • Use for a single line of free-text or numeric entry, always paired with a visible label.

When not to use

  • Don't rely on placeholder as a substitute for label — placeholder text disappears once typing starts and fails accessibility.
  • Don't use Input for multi-line content — it's a single-line field by design.

Usage