Loading dashboard...
Loading dashboard...
import { Textarea } from "@/components/ui/textarea"<Textarea />Use Field, FieldLabel, and FieldDescription to create a textarea with a label and description.
Enter your message below.
Use the disabled prop to disable the textarea. To style the disabled state, add the data-disabled attribute to the Field component.
Use the aria-invalid prop to mark the textarea as invalid. To style the invalid state, add the data-invalid attribute to the Field component.
Please enter a valid message.
Pair with Button to create a textarea with a submit button.
import { Textarea } from "@/components/ui/textarea"
export function TextareaDemo() {import { Field, FieldDescription, FieldLabel } from "@/components/ui/field"
import { Textarea } from "@/components/ui/textarea"
import { Field, FieldLabel } from "@/components/ui/field"
import { Textarea } from "@/components/ui/textarea"
import { Button } from "@/components/ui/button"
import { Textarea } from "@/components/ui/textarea"
import { Field, FieldDescription, FieldLabel } from "@/components/ui/field"
import { Textarea } from "@/components/ui/textarea"