Feedback form
Ask for an email only when someone wants a reply.
Example
Send feedback
Installation
bunx --bun shadcn@latest add @fieldkit/feedback-formNeeds the @fieldkit registry. Add it once
Notes
- Email shows and becomes required when Email me a reply is on.
- Turning the switch off clears email from the submitted values.
- The screenshot is optional because fileField has min: 0.