Capítulo 38 de 147
Learn how to use fills with Lucide icons in your Vue application, and the limitations of using fills with Lucide icons.
<script setup>
import { Star, StarHalf } from "@lucide/vue";
import "./icon.css";
</script>
<template>
<div class="app">
<div class="star-rating">
<div class="stars">
<Star
v-for="i in 5"
fill="#111"
strokeWidth="0"
/>
</div>
<div class="stars rating">
<Star fill="yellow" strokeWidth="0" />
<Star fill="yellow" strokeWidth="0" />
<StarHalf fill="yellow" strokeWidth="0" />
</div>
</div>
</div>
</template>