Core / Forms
Input
Captures a single-line value.
Live example
A valid email address.
Interactive preview using local sample data. Styling is intentionally left to the consuming project.
Usage
<Input type="email" placeholder="name@example.com" />Adopt to your project
Keep this component semantically neutral. Use its documented props for behavior and className for project-specific spacing, width, typography, and visual treatment.
Accessibility
Always pair with a visible Label or Field; placeholders are not labels.
API reference
| Public attribute |
|---|
type |
value |
onChange |
state |
disabled |
className |
The preview above uses a safe local fixture. Confirm exact TypeScript props when adapting it to your application.
Installation
Full library
pnpm install:project /absolute/path/to/your-project
Planned guided selection
Forms → Input