ESC
NuxtStarterAI logo
Menu
On this page

Components > Rating

page.vue
1import Rating from "@/components/landing-components/Rating/Rating.vue";

A rating component with avatars. Just update the avatars in the file, and you're all set.


Large Contentful Paint (LCP) on Hero

If you plan to use it in the hero component, ensure that the priority prop is set to true inside the component's images. This prioritizes loading the avatars to improve the large contentful paint.

Hero.vue
1<Rating />

NuxtJs Ratings component image