1.0.0-rc.9 • Published 3 years ago

@hackr/chakra-ui-number-input v1.0.0-rc.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@hackr/chakra-ui-number-input

The NumberInput component is similar to the Input, but it has controls for incrementing or decrementing numeric values.

It follows the WAI-ARIA authoring practices for the Spinbutton widget.

Installation

yarn add @hackr/chakra-ui-number-input

# or

npm i @hackr/chakra-ui-number-input

Import components

import {
  NumberInput,
  NumberInputField,
  NumberInputStepper,
  NumberIncrementStepper,
  NumberDecrementStepper,
} from "@hackr/chakra-ui-core"

Usage

// TO DO