The quantity input component is used for entering numeric values and includes controls for incrementally increasing or decreasing the value.
Component |
Usage |
Placement |
User action |
---|---|---|---|
Quantity input |
When incremental additions need to be made. Adding to the cart is a great use case. |
Inside the container. In the e-commerce context, it should be next to the Buy/Add to cart button |
Increase, decrease or insert number manually |
Anatomy
Structure
|
|
Properties
Property |
Values |
Description |
---|---|---|
Size |
small medium large |
height: 32px, 40px, and 48px. |
State |
active disable |
--- |
Guidelines
|
|