snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
14
apps/v4/registry/new-york-v4/examples/textarea-with-text.tsx
Normal file
14
apps/v4/registry/new-york-v4/examples/textarea-with-text.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Label } from "@/registry/new-york-v4/ui/label"
|
||||
import { Textarea } from "@/registry/new-york-v4/ui/textarea"
|
||||
|
||||
export default function TextareaWithText() {
|
||||
return (
|
||||
<div className="grid w-full gap-3">
|
||||
<Label htmlFor="message-2">Your Message</Label>
|
||||
<Textarea placeholder="Type your message here." id="message-2" />
|
||||
<p className="text-sm text-muted-foreground">
|
||||
Your message will be copied to the support team.
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user