Adjust counts without a keyboard
The increment and decrement buttons let users change a quantity directly — no need to clear and retype a number.
The quantity toggle component is used to increase or decrease an incremental value.
The increment and decrement buttons let users change a quantity directly — no need to clear and retype a number.
Min and max constraints are built in, so users can't accidentally enter a quantity outside the allowed range.
Use quantity toggles in booking or order screens where users need to set a number as part of completing a task.
Decrement action
Input value
Increment action
The quantity toggle provides increment and decrement controls for adjusting a numeric value within a defined range.
Renders increment and decrement buttons around a numeric input. Use when users need to adjust a count in clear, bounded steps — such as a booking quantity or item count.
Component tokens are specific to each component. Use the table title as the prefix: form-gap-lg under sgds/quantity-toggle means sgds/quantity-toggle/form-gap-lg.
sgds/form/gap/lgUse clear labels, predictable values, and a single obvious action for the control.
Too many repeated controls or unclear prompts make form completion slower and less confident.
TabShift+TabNumber keysBackspace↓ Downor↑ Upor← Leftor→ RightShare them with us on
Report it on GitHub
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.