About
A floating corner button that opens a compact feedback form for capturing a quick good/bad mood rating and an optional message.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Feedback Widget to your project and fits it to your theme.
Code
How Feedback Widget is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { FeedbackWidget } from "@/components/ui/feedback-widget";
export default function FeedbackWidgetDemo() {
return (
<div className="relative flex h-screen w-full items-center justify-center bg-background text-foreground">
<p className="max-w-sm text-center text-sm text-muted-foreground">
Click the floating button in the corner to open the feedback form.
</p>
<FeedbackWidget
onSubmit={(message, mood) => {
console.log("feedback submitted", { message, mood });
}}
/>
</div>
);
}
















