shadcn-vue/apps/www/src/lib/registry/default/example/TextareaWithText.vue
Selemondev e5cecae352
docs: Improve the API reference of all the components (#152)
* docs: improve the api reference of all the components

* docs(app): #152 add new-york theme

This pull request is intended to add the new-york theme for the newly created component examples.

Closes: #152

* chore: build registry

* chore: change usage of lucide icon in new-york

---------

Co-authored-by: zernonia <zernonia@gmail.com>
2023-11-09 18:42:01 +08:00

15 lines
450 B
Vue

<script setup lang="ts">
import { Textarea } from '@/lib/registry/default/ui/textarea'
import { Label } from '@/lib/registry/default/ui/label'
</script>
<template>
<div class="grid w-full gap-1.5">
<Label for="message-2">Your message</Label>
<Textarea id="message-2" placeholder="Type your message here." />
<p class="text-sm text-muted-foreground">
Your message will be copied to the support team.
</p>
</div>
</template>