shadcn-vue/apps/www/src/content/docs/components/textarea.md
Sadegh Barati d34c620055
chore: lint and enable Volar hybrid mode (#419)
* chore: update deps

* feat: enable Volar hybrid mode

* chore: lint

* chore: build registry
2024-03-20 22:29:42 +03:30

1.0 KiB

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

Installation

npx shadcn-vue@latest add textarea

<template #Manual>

Install the following dependency:

npm install radix-vue

Copy and paste the following code into your project

<<< @/lib/registry/default/ui/textarea/Textarea.vue

Usage

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

<template>
  <Textarea />
</template>

Examples

Default

Disabled

With Label

With Text

With Button

Form