Components

BaseReview

A review with stars, author, relative date and text.

components/ui/BaseReview.vue
View in the demo

Example

Camila Ortega

Clear lessons and useful exercises. I finished it in two weeks.

For course, product or service reviews. The date is relative and appears after mount, so the server and the client render the same HTML. Pass the review fields one by one (rating, author, date, text). The course page and the course and instructor quick views use it.

API

Props

Name
Type
Default
Description
rating
required
number—The stars, from 0 to 5.
author
required
string—Who wrote the review.
datestring—When it was written (an ISO date), shown as a relative time after mount.
textstring—The review text. The default slot replaces it.

Slots

Name
Slot props
Description
#default—Replaces the review text.
© 2026 melsami UI.
Developer documentation for melsami UI.