GOV.UK Design System numeric text-input guidance
Documents numeric entry guidance, inputmode numeric for whole numbers, explicit number error messages, too-low and too-high messages, between-range messages, decimal money wording, and cautions against using input type number without user-research support because accidental increments and unclear invalid-entry feedback can harm completion.
What this source can teach
Use this source to study a complete public-service task and the guidance that supports its implementation.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- Check the setting. Compare the source's platform, people, and constraints with your own decision.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Spinbutton / numeric stepper | Choose a spinbutton for one bounded numeric value that changes in predictable increments. | Increment and decrement controls change the value by the declared step and stop at the lower and upper bounds. | GOV.UK numeric guidance cautions against type number without user research and provides specific error wording for numeric entry, bounds, and decimal money values. |
Comparisons supported by this source
- Spinbutton vs slider vs text input vs select
GOV.UK cautions against input type number without research, distinguishes numeric strings from incrementable numbers, and documents specific numeric error wording.
Evidence Role
This source is treated as service-manual evidence. Its value comes from the specific claims and setting described above.
Publisher: GOV.UK Design System. Last checked: .