Text input fields with validation states
Interactive preview of the Input component with different variants.
Install the package via npm:
npm install apex-design-systemimport { Input } from 'apex-design-system';<Input type="text" placeholder="Enter your name" /><Input type="email" placeholder="Email address" />
<Input type="password" placeholder="Password" />
<Input type="number" placeholder="Age" />
<Input type="url" placeholder="Website URL" />import { Label, Input } from 'apex-design-system';
<div className="space-y-2">
<Label htmlFor="email">Email</Label>
<Input id="email" type="email" placeholder="you@company.com" />
</div>This component follows WAI-ARIA best practices and is WCAG 2.1 AA compliant. It includes proper keyboard navigation, focus management, and screen reader support.