Recommended
01
Production default
Balanced spacing, hierarchy, and content for the most common product workflow.
Live preview
<InputNumber
value="sample-1"
placeholder="Enter a sample value"
/>
Theme-aware, responsive input number component.
Change any prop and inspect the server-rendered component immediately.
<InputNumber
value="sample-1"
placeholder="Enter a sample value"
/>
Compare configurations and resize the browser to check responsive behavior.
Balanced spacing, hierarchy, and content for the most common product workflow.
<InputNumber
value="sample-1"
placeholder="Enter a sample value"
/>
A tighter variation for dashboards, side panels, tables, and operational interfaces.
<InputNumber
size="sm"
label="Compact example"
value="sample-2"
placeholder="Enter a sample value"
/>
A more expressive variation using additional data, stronger emphasis, and optional states.
<InputNumber
size="lg"
label="Advanced example"
value="sample-3"
placeholder="Search by name, email, or identifier"
/>
All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|---|---|---|
size | string | "default" | No |
color | string | "primary" | No |
label | string | "Input Number" | No |
name | string | "" | No |
value | string | "" | No |
placeholder | string | "" | No |
type | string | "number" | No |
min | string | "" | No |
max | string | "" | No |
step | string | "" | No |
disabled | boolean | false | No |
required | boolean | false | No |
class | string | "" | No |