››review-list
Review List
Review list with avatars, author and date, star ratings, a verified-purchase mark, and the review text, or a note when there are none yet.
Parts
| Part | File | Does |
|---|---|---|
| ReviewList | ReviewList.vue | Lists customer reviews with the reviewer, date, rating and verified-purchase mark. |
Styling
All of Review List’s styles live in review-list.json. New to styling in Frontic UI? How styling works →
Install
- npm packages
- @lucide/vue
- reka-ui
Built from
API reference
Lists customer reviews with the reviewer, date, rating and verified-purchase mark. Renders a <div>.
Props 6
| Prop | Type | Default | |
|---|---|---|---|
| title | string | 'Customer reviews' | |
| |||
| reviews | ReviewItem[] | [] | |
| |||
| verifiedLabel | string | 'Verified purchase' | |
| |||
| emptyLabel | string | 'No reviews yet.' | |
| |||
| locale | string | — | |
| |||
| class | ClassValue | — | |
| |||
Recipe review-list 1 group
width full
Recipe copy-muted 1 group
textColor colors.muted-foreground#66666f
typography typography.copy400 0.875rem/1.5rem 'Inter Variable', Inter, sans-serif
Recipe section-title 1 group
typography typography.ui500 0.875rem/1.43 'Inter Variable', Inter, sans-serif
fontWeight semibold
Recipe meta 1 group
textColor colors.muted-foreground#66666f
typography typography.caption500 0.75rem/1.33 'Inter Variable', Inter, sans-serif
fontWeight normal
Recipe hint 1 group
textColor colors.muted-foreground#66666f
typography typography.small400 0.875rem/1.43 'Inter Variable', Inter, sans-serif
Review List