››textarea
Textarea
An underlined field for longer free text, such as a gift message, that grows with its content; joins a Field around it.
Parts
| Part | File | Does |
|---|---|---|
| Textarea | Textarea.vue | Lets the user write longer text over several lines, such as a note or review. |
Styling
All of Textarea’s styles live in textarea.json. New to styling in Frontic UI? How styling works →
Install
- npm packages
- @vueuse/core
- reka-ui
API reference
Lets the user write longer text over several lines, such as a note or review. Renders a <textarea>.
Props 3
| Prop | Type | Default | |
|---|---|---|---|
| class | ClassValue | — | |
| |||
| defaultValue | string | number | — | |
| |||
| modelValue | string | number | — | |
| |||
Events 1
| Event | Payload | |
|---|---|---|
| update:modelValue | payload: string | number | |
| ||
Recipe textarea 2 groups
opacity opacity.500.5
Textarea