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

Number field

A number, typed or stepped, formatted for the locale: 1,28,400 in en-IN.

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

01

Playground

Every prop, live, and the code it takes.

seats.tsx
import { Field } from "@qeetrix/react";
import { NumberField } from "@qeetrix/react/experimental";

<Field label="Seats">
  <NumberField defaultValue={25} min={1} max={500} />
</Field>

02

Typed or stepped

The − and + buttons, the arrow keys, Shift for big steps; min and max stop them.

Up to 500 on your plan.

03

Units

The unit as an affix, before or after: ₹, minutes.

minutes
₹

04

Formats

Formatted for the locale: en-IN groups in lakhs. format takes currency or per cent.

05

In Hindi

Its buttons' names and its spoken role come from QeetrixProvider.

Next — Number fieldUsage