Forms · Textarea
SSR NativeAccessibleTextarea
Captures longer native text input with consistent sizing and errors.
Astro
---
import { Textarea } from '@charvesta/cetha';
---
<Textarea name="description" placeholder="Describe this workspace" />API reference
| Prop | Type | Default | Description |
|---|---|---|---|
invalid | boolean | false | Applies invalid styling and aria-invalid. |
size | 'sm' | 'md' | 'lg' | 'md' | Sets minimum control density. |
value | string | number | — | Initial value. |
class | string | — | Additional classes forwarded to the rendered element. |
Accessibility
Compose with Field or provide a programmatic label.