NumberInput
A number the person can type, step, and read in their locale, with optional min and max.
A money amount with a currency symbol, locale formatting, min, max, and step.
A money amount. The symbol and grouping follow the currency and locale. Step defaults to 0.01.
USD by default. The symbol sits beside the number and is not part of the typed value.
Wrap with Field. A plain number is NumberInput. Pair a Select when the person chooses the currency code. Do not prefix an Input with a currency character.
import { CurrencyInput } from "agentic-ds-kit";From contracts/currencyinput.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 | — | — |
| currency | string | No | USD | ISO 4217 code. |
| 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 | 0.01 | — |
| locale | string | No | — | — |
| placeholder | string | No | — | — |
| disabled | boolean | No | false | — |
| error | boolean | No | false | — |
| name | string | No | — | — |
| describedBy | string | No | — | — |
| ariaLabel | string | No | — | — |
| steppers | boolean | No | true | — |
A number the person can type, step, and read in their locale, with optional min and max.
Choose one or several options from a list.
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.
Next charge, a failed-payment notice, and every charge with its status.