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

Playground

Every prop, live, and the code it takes.

₹
Icon
amount.tsx
import { Field, Input } from "@qeetrix/react";

<Field label="Amount">
  <Input placeholder="e.g. 50,000" startAdornment="₹" />
</Field>

02

In a field

Field gives it a label, a description and an error; TextField is the two in one.

As on your GST certificate.

03

Icon and affixes

A leading icon; text before or after the value, in the box.

₹
%
.qeet.in

04

Large

size="lg" for the one value a sign-in or sign-up step asks for: taller, the value in title type with tabular figures. That step's one field only.

+91

05

With a tool

endAdornment holds a control too: a Copy button beside a read-only key.

06

Search in a toolbar

The one place a label hides: hideLabel keeps it for screen readers.

Next — InputUsage