For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
A strict numeric input component with formatting, prefixes, and steppers.
A specialized input primitive for strictly handling numeric data, featuring automatic formatting on blur, up/down steppers, and support for prefixes/suffixes.
Demo
$
kg
%
Usage
import { NumberInput } from "@/components/ui/number-input"export function MyComponent() { return ( <NumberInput prefix="$" defaultValue={1250} formatOptions={{ minimumFractionDigits: 2 }} /> );}