shadcn.io is not affiliated with official shadcn/ui
Dialog examples · Standard
Feedback Dialog for React
A feedback dialog with one labeled textarea for open-ended comments.
Feedback forms buried in settings never get used. This React dialog asks one open question in a Textarea, one click from anywhere in the app. It's shadcn.io's Dialog on Base UI with the textarea in a Field.
Preview
Installation
FAQ
Should I limit the length?
A maxLength of one or two thousand characters keeps submissions reasonable; show the count in a FieldDescription if you set one.
Should the text be required?
Disable Submit Feedback while the textarea is empty, so people don't send blank feedback by accident.
Should I add categories or a rating?
For routing, a select for Bug, Feature request or Other helps. Keep the form short; the point is that it's quick.
Can people attach screenshots?
Yes, with a file input or the File Upload component. Limit the size and show a preview.
Related
- Standard DialogA share dialog with a read-only link, a
- Simple TextareaA plain textarea with a placeholder and
- Newsletter DialogA newsletter dialog with one email field
- Button with Text (Standard)The one filled action
- Required LabelA label with a destructive asterisk that
- Rating DialogA rating dialog with a five-star rating