@rafcin/number-input

An accessible numeric input alternative to <input type='number' />

Usage no npm install needed!

<script type="module">
  import rafcinNumberInput from 'https://cdn.skypack.dev/@rafcin/number-input';
</script>

README

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

# or

npm i @rafcin/number-input

Import components

import {
  NumberInput,
  NumberInputField,
  NumberInputStepper,
  NumberIncrementStepper,
  NumberDecrementStepper,
} from "@rafcin/react"

Usage

// TO DO