Skip to content

Textarea

Displays a form textarea or a component that looks like a textarea.

Usage

vue
<script setup lang="ts">
import { ref } from 'vue';
import { TextArea } from '@youcan/ui-vue3';

const comment = ref('');
</script>

<template>
  <TextArea
    v-model="comment"
    placeholder="Leave your comment"
  />
</template>

API Reference