Forms

Input

A single-line text field. Inside a FormField, it picks up the label and description links on its own.

ReactVueWeb Components
View in Storybook

Playground

Examples

<FormField label="Name"><Input /></FormField>
<Input type="email" aria-label="Email" />

Props

Name Type Default Description
size 'sm' | 'md' | 'lg' md Control size. @default 'md'

Accessibility

  • Body/background contrast is ≥ 7:1 (AAA) in both light and dark.
  • Every interaction works with the keyboard alone.
  • The focus ring is always visible.
  • Respects prefers-reduced-motion and stops excessive motion.

Every component is designed to meet WCAG 2.1 AAA.