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

0.5.0

  • size is the field's size, "md" or "lg", no longer the HTML size attribute: lg is the one value a sign-in or sign-up step asks for.

02

0.4.0

  • Read-only, its line is border.strong, the editable field's, so it keeps 3:1; the missing fill still tells it apart.

03

0.3.0

  • icon takes an element as well as a component (icon={<PlusIcon />}), so a Server Component can pass one: its type is IconSource.

04

0.2.0

  • Field takes a function child, for a control that isn't a form input.

05

0.0.2

  • Input: the filled box with a bottom line, a leading icon, and start and end adornments; its focus, invalid, read-only and disabled looks come from the input.
  • Right-to-left tests cover the adornments' order.

Every change to @qeetrix/react

Next — FormsTextarea