WRNexus UI
Advanced Forms component

Input Number

Theme-aware, responsive input number component.

13 props0 slots0 eventsTheme readyResponsive
Interactive playground

Configure Input Number

Change any prop and inspect the server-rendered component immediately.

Live preview
Component code
<InputNumber
  value="sample-1"
  placeholder="Enter a sample value"
/>
Component props13 controls
Live examples

Designed for real product surfaces

Compare configurations and resize the browser to check responsive behavior.

Recommended

Production default

Balanced spacing, hierarchy, and content for the most common product workflow.

01
Live preview
Component usage.wrn
<InputNumber
  value="sample-1"
  placeholder="Enter a sample value"
/>
Dense UI

Compact application

A tighter variation for dashboards, side panels, tables, and operational interfaces.

02
Live preview
Component usage.wrn
<InputNumber
  size="sm"
  label="Compact example"
  value="sample-2"
  placeholder="Enter a sample value"
/>
Extended

Rich configuration

A more expressive variation using additional data, stronger emphasis, and optional states.

03
Live preview
Component usage.wrn
<InputNumber
  size="lg"
  label="Advanced example"
  value="sample-3"
  placeholder="Search by name, email, or identifier"
/>
Component API

Props and configuration

All content and behavior shown above is supplied through these props and slots.

PropTypeDefaultRequired
sizestring"default"No
colorstring"primary"No
labelstring"Input Number"No
namestring""No
valuestring""No
placeholderstring""No
typestring"number"No
minstring""No
maxstring""No
stepstring""No
disabledbooleanfalseNo
requiredbooleanfalseNo
classstring""No