NPS survey
Ask a follow-up question when the score is low.
Example
Rate us
Installation
bunx --bun shadcn@latest add @fieldkit/nps-formNeeds the @fieldkit registry. Add it once
Notes
- A score of 6 or lower makes the reason required.
- The reason label changes with the score.
- The score submits as a number.