About
A compact inline bar for collecting thumbs-up/thumbs-down feedback on AI chat responses, with a dismiss button.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Feedback Bar to your project and fits it to your theme.
Code
How Feedback Bar is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { FeedbackBar } from "@/components/ui/feedback-bar";
import { Info } from "lucide-react";
export default function FeedbackBarBasic() {
return (
<div className="flex w-full max-w-sm flex-col gap-4">
<FeedbackBar
title="Was this response helpful?"
icon={<Info className="text-primary size-4" />}
onHelpful={() => console.log("helpful")}
onNotHelpful={() => console.log("not helpful")}
onClose={() => console.log("close")}
/>
</div>
);
}
















