Skip to content

Textarea

Displays a multi-line text input field component.

When to Use

  • When users need to create multi-sentence or paragraph length content (e.g. product decriptions, comments or messages).

Usage

javascript
import { ref } from 'vue';
import { TextArea } from '@youcan/alto';

const comment = ref('');
vue
<TextArea v-model="comment" placeholder="Leave your comment" />

API Reference