Pro点按
Review Request
Post-purchase review card: five stars that lift under the pointer, a word for the level, then reason chips that depend on the rating (what went wrong for three stars or fewer, what you liked for four or more; switching sides swaps the whole set and clears picks).
适合使用的场景
- Review request page or email landing after delivery
- Order history rows that open a quick rating
- Collecting structured reasons (damaged, not as described) alongside the star rating
注意事项
- Rewards must not depend on the rating; the component shows the reward for every rating on purpose (FTC and EU rules on incentivised reviews)
- Reason chips are yours to localise; keep five or fewer per side
- onSubmit gets the rating, picked reasons and text; store reasons as structured data, not inside the text
- Use onHelp to route low ratings to support, not to hide them
交给你的 agent 安装
一次复制就包含安装命令、使用时机、props 与设计规则。粘贴到 Claude Code、Cursor 或 Codex 即可。
这是 Pro 区块
一份许可即可解锁所有 Pro 区块,包括以后新增的。
一次付清 $129 含一年更新,或每月 $19。自己的项目和客户项目都能用,数量不限;已经装好的区块一直是你的。
使用你的许可安装
- 1. 把 SunUI Pro registry 添加到
components.json。components.json{ "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } - 2. 把许可密钥写入
.env.local。$ SUNUI_LICENSE_KEY=your-license-key - 3. 安装区块。
$ npx shadcn@latest add @sunui-pro/review-request
相似区块
- Pro
- Pro





