Textarea — Playground
size
State
<textarea kuiTextarea rows="4" placeholder="Write a note"></textarea>| Name | Type | Default | Description |
|---|---|---|---|
| size | 'xs' | 'sm' | 'md' | 'lg' | undefined | undefined | Textarea height and spacing size, mapped to Kikita UI control tokens. Resolved from defaults.textarea.size, then the parent field, then the global defaults.size, then md. |
| invalid | boolean | false | Marks the textarea invalid outside a kui-field error state. With [formField] the Field state wins. |
| id | string | undefined | undefined | Explicit id override. Inside kui-field, the field id is used when omitted. |
| KuiTextareaOptions | interface | - | Shape of defaults.textarea: size. |
Inputs verified against @kikita-labs/ui v2.0.0 public typings.