Premium
Vue Star Rating Widget
Challenge summary
Create a reusable star rating widget in Vue 3 with a controlled rating value. Keep the parent as the source of truth.
What you'll practice
- Render the star rating UI as the main component.
- Display a row of stars (e.g. 5 by default).
- Allow the user to select a rating by clicking a star.
- Display the current rating value below the stars (e.g. "Current rating: 3 / 5").
- Stars render from 1 up to the configured max (default 5).
What Premium unlocks
Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion.
Free related practice
Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.