We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
we need star rating component to put products rating in the site
### Tasks
The text was updated successfully, but these errors were encountered:
I believe this is something easily achievable in your own codebase, and not really relevant to add to Nuxt UI.
Sorry, something went wrong.
Duplicate #505. A PR was made back then (#513) but never took the time to review it 😬
Please check this playground: https://stackblitz.com/edit/nuxt-ui-njem3p?file=components%2FStarRating.vue
<template> <div class="space-x-1"> <UIcon v-for="i in rating" :key="i" name="i-heroicons-star-20-solid" class="text-yellow-500" /> <UIcon v-for="i in 5 - rating" :key="i" name="i-heroicons-star" /> </div> </template> <script setup lang="ts"> const props = defineProps<{ rating: number; }>(); </script>
<StarRating :rating="4" />
@noook What do you think of #513? Should we close it?
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Description
we need star rating component to put products rating in the site
Additional context
The text was updated successfully, but these errors were encountered: