shadcn.io is an independent project built on shadcn/ui
Description is the label. Next: Provide a detailed description. Markdown is supported. The box is six rows. The placeholder starts with a heading, then a blank line, then Your description here...
Put the format here so people see it before they write. The box does not render Markdown. Picking a template instead is a Select. React with Ark UI leaves the text plain.
Installation
Anatomy

Usage
<Field className="max-w-md">
<FieldLabel>Description</FieldLabel>
<FieldDescription>
Provide a detailed description. Markdown is supported.
</FieldDescription>
<Textarea
placeholder="# Heading Your description here..."
rows={6}
/>
</Field>FAQ
Why is the Markdown note above the box?
FieldDescription sits between FieldLabel and Textarea. It reads Provide a detailed description. Markdown is supported.
How tall is the description box?
rows is 6. The label is Description, and FieldLabel names the textarea. Field connects the two for you, with no ids to write.
How does the placeholder show more than one line?
The placeholder starts with a heading, then a blank line, then Your description here. The source writes each of those breaks as a newline entity in the placeholder string.
Does this box format Markdown?
The description says Markdown is supported. The control is a Textarea with that sentence above it.
API Reference
Field
No extra props in this demo. The rest is on the Field page.
Textarea
Sets placeholder="# Heading Your description here..." and rows={6}. The rest is on the Textarea page.





