office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
13 lines (9 loc) • 483 B
Markdown
### Layout
- Use a spin button when you need to incrementally change a value.
- Use a spin button when values are tied to a unit of measure.
- Don't use a spin button for binary settings.
- Don't use a spin button for a range of three values or less.
- Place labels to the left of the spin button control. For example, "Length of ruler (cm)".
- Spin button width should adjust to fit the number values.
### Content
- Include a label indicating what value the spin button changes.