Back to blocks
BlockDashboard / ApplicationFree

Feedback Rating Card React component

An in-app feedback card with an NPS 0–10 or five-face satisfaction scale: colors that show detractors, passives and promoters as you hover, a follow-up question that depends on the score, quick-pick tags, a comment with a counter, permission to follow up, a thank-you that asks happy users for a review, and Not now that tucks it into a pill.

About the Feedback Rating Card component

Feedback Rating Card asks for a score and then the one question that matters for that score. It supports a classic 0–10 Net Promoter scale and a simpler five-face satisfaction scale.

Colors show where a score lands as people hover, and the follow-up adapts: happy users are asked what they love and invited to leave a review, unhappy users are asked what to fix and can agree to be contacted. Quick-pick tags make answering fast, and Not now tucks the card away without losing it.

When to use it

Use it after a key moment in your app, like finishing onboarding, closing a support ticket or a few weeks of active use.

Ask rarely; showing it on every visit trains people to dismiss it.

Installation

Add the Feedback Rating Card component to your project with the shadcn CLI. It lands in components/feedback-rating-card.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/feedback-rating-card

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

Usage Limit Slider Card
Free
Member Profile Card
Free
Settings Toggle List
Free
Notification Preferences Panel
Free
Connected Apps Toggle List
Free
Share Settings Modal
Free