Input Component
Comprehensive form input with label, hint, error message, and icon support. WCAG 2.2 Level AA compliant.
Input Sizes
Input Types
With Hint Text
Choose a unique username
Required Field
With Error
Please enter a valid email address
Disabled State
Readonly State
Usage Examples
Basic Input
<x-fds.input name="email" type="email" label="Email" />
With Error
<x-fds.input
name="password"
type="password"
label="Password"
error="Password must be at least 8 characters"
/>
Props API
type- text, email, password, number, tel, url, searchname- Input name attribute (required)label- Label texthint- Helper texterror- Error messagerequired- Booleandisabled- Booleanreadonly- Booleansize- sm, md, lg