Skip to main content
  1. Docs
  2. Components
  3. Forms

Input

The bare text box: a filled surface with a bottom line, an icon and affixes. A Field labels it.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<input>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Keyboard

KeysWhat happens
TabTabMoves focus to the input; a tool in endAdornment is the next stop.

02

Behaviour

Name
From its Field's label; without one, give it aria-label.
Affixes
Read with the value: the box holds them, so they're seen with it, and stay in order in right to left.
States
Focus, invalid, read-only and disabled looks come from the input's own state.

03

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Forced colours, reduced motion and right to left
  • Every field shares one height and edge: a test checks them together
Next — InputChangelog