Forms · Input
SSR NativeAccessibleInput
A native text control with compact sizing and validation treatment.
Astro
---
import { Input } from '@charvesta/cetha';
---
<Input type="email" name="email" placeholder="name@example.com" />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
invalid | boolean | false | Applies invalid styling and aria-invalid. |
size | 'sm' | 'md' | 'lg' | 'md' | Sets control density. |
class | string | — | Additional classes forwarded to the rendered element. |
Accessibility
Compose with Field or provide an explicit aria-label when no visible label is present.