Skip to content
nexubDesign System
v2.4.0

Components · Form & Input

Number Input

StableSince v0.0.1

A numeric input with increment and decrement controls, supporting min/max clamping and step.

import { NumberInput } from '@nexub/react';

Examples

Default

With range

Props

Props
PropTypeDefaultDescription
valuenumber—Controlled value of the input.
minnumber—Minimum allowed value.
maxnumber—Maximum allowed value.
stepnumber1Amount to increment or decrement on each step.
disabledboolean—Disables the input and its controls.
size'sm' | 'md' | 'lg'—Controls font size and padding.