Feedback 2 - NPS survey 0–10

A Net Promoter Score card with an eleven-point 0–10 scale, labelled extremes and a follow-up question that changes for detractors, passives and promoters. Use it in onboarding emails, account pages or post-purchase flows to measure loyalty.

About Feedback 2

A Net Promoter Score card with an eleven-point 0–10 scale, labelled extremes and a follow-up question that changes for detractors, passives and promoters. Use it in onboarding emails, account pages or post-purchase flows to measure loyalty.

Feedback 2 is a free feedback block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 80 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • feedback
  • nps
  • survey
  • score
  • scale
  • loyalty

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/feedback-02

Dependencies installed automatically: motion.

Uses: button, reveal, textarea, utils.

Usage

import Feedback02 from "@/components/blocks/feedback-02"

export default function Page() {
  return <Feedback02 />
}

FAQ