AI
NUI logov3.1.0

Number Input

A fully accessible, token-driven NumberInput component built with strict WAI-ARIA compliance.

tsx
import { NumberInput } from '@nofinite/nui';

Interactive Preview

Loading preview...

Usage

Basic Example

tsx
import { NumberInput } from '@nofinite/nui';

<NumberInput />

API Reference

NumberInput PropsHTML Attributes

Inherits all standard attributes and event handlers from React.InputHTMLAttributes<HTMLInputElement> (supports min, max, step, and defaultValue). Supports className for semantic NUICSS superclasses and ref forwarding.


Accessibility & Guidelines

  • Semantic Tokens: Built strictly using Nuicss semantic tokens (bg-surface, text-default, border-subtle, bg-primary).
  • Keyboard Navigation: Adheres to strict WAI-ARIA standards.
  • Screen Reader Support: Includes semantic roles and live regions where appropriate.