Dev Design Library

Number Field

NumberFields allow users to enter a number, and increment or decrement the value using stepper buttons.

Number Field preview
Library
React Spectrum
Framework
React
Type
component
License
Apache-2.0
Files
  • packages/@react-spectrum/s2/src/NumberField.tsx
  • packages/@react-spectrum/s2/ui-icons/Add.tsx
  • packages/react-aria-components/src/Button.tsx
  • packages/react-aria-components/src/NumberField.tsx
  • packages/@react-spectrum/s2/style/index.ts
  • packages/@react-spectrum/s2/src/style-utils.ts
  • packages/@react-spectrum/s2/src/useDOMRef.ts
  • packages/@react-spectrum/s2/ui-icons/Dash.tsx
Source
https://github.com/adobe/react-spectrum

Categories

More from React Spectrum