JSPM

  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q39020F
  • License MIT

A React hook for managing counters

Package Exports

  • @nature-ui/number-input
  • @nature-ui/number-input/dist/nature-ui-number-input.cjs.js
  • @nature-ui/number-input/dist/nature-ui-number-input.esm.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nature-ui/number-input) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@nature-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 @nature-ui/number-input

# or

npm i @nature-ui/number-input

Import components

import {
  NumberInput,
  NumberInputField,
  NumberInputStepper,
  NumberIncrementStepper,
  NumberDecrementStepper,
} from '@nature-ui/react';

Usage

// TO DO