Feedback Widget

Preview

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/feedback-widget

API Reference

onSubmit?
((data: FeedbackData) => void | Promise<void>)

Called on submit. May be async; the button shows a sending state until it resolves.

Default—
position?
"bottom-right" | "bottom-left"
Defaultbottom-right
title?
string
Default—
placeholder?
string
Default—
icon?
ReactNode
Default—
labels?
Partial<{ title: string; placeholder: string; close: string; cancel: string; submit: string; sending: string; sentTitle: string; sentDescription: string; errorTitle: string; errorDescription: string; retry: string; }>

Override any built-in string.

Default—
className?
string
Default—

Keep in mind

Some components on this site are inspired by or recreated from existing work across the web. I'm not here to take credit; just to learn, experiment, and sometimes push things a bit further. If something looks familiar and I forgot to mention you, reach out and I'll fix that right away.

Updated