shadcn-vue/apps/www/src/content/docs/components/textarea.md

551 B
Executable File

title description
Textarea Displays a form textarea or a component that looks like a textarea.

Installation

npx shadcn-vue@latest add textarea
  1. Install radix-vue:
npm install radix-vue
  1. Copy and paste the component source files linked at the top of this page into your project.

Usage

<script setup lang="ts">
import { Textarea } from '@/components/ui/textarea'
</script>

<template>
  <Textarea />
</template>