CurrencyInput
A money amount with a currency symbol, locale formatting, min, max, and step.
A number the person can type, step, and read in their locale, with optional min and max.
A number with locale formatting, min, max, and step. Arrow keys and the stepper buttons move by step. Money is CurrencyInput.
Grouping appears when the field is not focused. Typing uses the locale decimal mark.
Wrap with Field. Blur clamps to min and max. Use Slider for a rough amount on a track, and CurrencyInput for money.
import { NumberInput } from "agentic-ds-kit";From contracts/numberinput.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| id | string | Yes | — | — |
| size | md | sm | lg | No | md | — |
| value | number | null | No | — | Controlled. null is empty. |
| defaultValue | number | null | No | — | — |
| onChange | function | No | — | (value: number | null) => void |
| min | number | No | — | — |
| max | number | No | — | — |
| step | number | No | 1 | — |
| locale | string | No | — | BCP 47. Default is the runtime locale. |
| placeholder | string | No | — | — |
| disabled | boolean | No | false | — |
| error | boolean | No | false | — |
| name | string | No | — | — |
| describedBy | string | No | — | — |
| ariaLabel | string | No | — | — |
| steppers | boolean | No | true | Decrease and increase buttons. |
A money amount with a currency symbol, locale formatting, min, max, and step.
Pick a value or range along a track.
Single-line text entry for forms and filters.
The brief a person hands an agent before it plans: a goal, one-line "done when" checks, optional spend, time and step limits, allowed tools, model and check-in level.