Core / Forms
Validation
Communicates hint, error, or success feedback.
Live example
Use at least 12 characters.
Interactive preview using local sample data. Styling is intentionally left to the consuming project.
Usage
<Validation status="error">Enter a valid email.</Validation>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
Announce a validation error when it changes.
API reference
| Public attribute |
|---|
status |
children |
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 → Validation