Files
wdi-dashboard/node_modules/@chakra-ui/number-input/README.md
2024-08-16 15:06:52 +05:30

35 lines
584 B
Markdown

# @chakra-ui/number-input
The NumberInput component is similar to the [Input](/input), but it has controls
for incrementing or decrementing numeric values.
It follows the
[WAI-ARIA authoring practices](https://www.w3.org/TR/wai-aria-practices-1.1/#spinbutton)
for the Spinbutton widget.
## Installation
```sh
yarn add @chakra-ui/number-input
# or
npm i @chakra-ui/number-input
```
## Import components
```js
import {
NumberInput,
NumberInputField,
NumberInputStepper,
NumberIncrementStepper,
NumberDecrementStepper,
} from "@chakra-ui/react"
```
## Usage
// TO DO