star icon
star-fill from Meteocons by Bas Milius · Fill · animated · MIT Free for personal and commercial use.
- Name
- star-fill
- Set
- Meteocons
- Style
- Fill
- Animation
- Animated SVG (SMIL)
- Viewbox
- 512×512
- License
- MIT
1 other variant in Meteocons
The same icon in other sets
All star icons →starAkar Iconsstar-filledAnt Design IconsstarBootstrap IconsstarBoxIcons v2starBoxIcons v2 SolidstarCarbonstarEmoji One (Colored)starElement Plusstar-fillEva IconsstarFramework7 IconsstarFont Awesome 6 RegularstarFont Awesome 6 SolidstarFont Awesome RegularstarFont Awesome SolidstarFeather Iconsstar-outlineFlowbite Iconsstar-12-filledFluent UI System Iconsstar-16Fluent UI System Color IconsstarFluent EmojistarFluent Emoji FlatstarFluent Emoji High ContraststarFirefox OS EmojistarHeroIconsstarHuge Icons
Use the star icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><linearGradient id="SVGPqbGhekF1" x1="187.9" x2="324.1" y1="138.1" y2="373.9" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fcd966"/><stop offset=".5" stop-color="#fcd966"/><stop offset="1" stop-color="#fccd34"/></linearGradient></defs><path fill="url(#SVGPqbGhekF1)" stroke="#fcd34d" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="m105.7 263.5l107.5 29.9a7.9 7.9 0 0 1 5.4 5.4l29.9 107.5a7.8 7.8 0 0 0 15 0l29.9-107.5a7.9 7.9 0 0 1 5.4-5.4l107.5-29.9a7.8 7.8 0 0 0 0-15l-107.5-29.9a7.9 7.9 0 0 1-5.4-5.4l-29.9-107.5a7.8 7.8 0 0 0-15 0l-29.9 107.5a7.9 7.9 0 0 1-5.4 5.4l-107.5 29.9a7.8 7.8 0 0 0 0 15Z"><animateTransform additive="sum" attributeName="transform" calcMode="spline" dur="6s" keySplines=".42, 0, .58, 1; .42, 0, .58, 1" repeatCount="indefinite" type="rotate" values="-15 256 256; 15 256 256; -15 256 256"/><animate attributeName="opacity" dur="6s" values="1; .75; 1; .75; 1; .75; 1"/></path></svg>
React
import type { SVGProps } from "react";
export function MeteoconsStarFill(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><linearGradient id="SVGPqbGhekF1" x1="187.9" x2="324.1" y1="138.1" y2="373.9" gradientUnits="userSpaceOnUse"><stop offset="0" stopColor="#fcd966"/><stop offset=".5" stopColor="#fcd966"/><stop offset="1" stopColor="#fccd34"/></linearGradient></defs><path fill="url(#SVGPqbGhekF1)" stroke="#fcd34d" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4" d="m105.7 263.5l107.5 29.9a7.9 7.9 0 0 1 5.4 5.4l29.9 107.5a7.8 7.8 0 0 0 15 0l29.9-107.5a7.9 7.9 0 0 1 5.4-5.4l107.5-29.9a7.8 7.8 0 0 0 0-15l-107.5-29.9a7.9 7.9 0 0 1-5.4-5.4l-29.9-107.5a7.8 7.8 0 0 0-15 0l-29.9 107.5a7.9 7.9 0 0 1-5.4 5.4l-107.5 29.9a7.8 7.8 0 0 0 0 15Z"><animateTransform additive="sum" attributeName="transform" calcMode="spline" dur="6s" keySplines=".42, 0, .58, 1; .42, 0, .58, 1" repeatCount="indefinite" type="rotate" values="-15 256 256; 15 256 256; -15 256 256"/><animate attributeName="opacity" dur="6s" values="1; .75; 1; .75; 1; .75; 1"/></path></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><defs><linearGradient id="SVGPqbGhekF1" x1="187.9" x2="324.1" y1="138.1" y2="373.9" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fcd966"/><stop offset=".5" stop-color="#fcd966"/><stop offset="1" stop-color="#fccd34"/></linearGradient></defs><path fill="url(#SVGPqbGhekF1)" stroke="#fcd34d" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="m105.7 263.5l107.5 29.9a7.9 7.9 0 0 1 5.4 5.4l29.9 107.5a7.8 7.8 0 0 0 15 0l29.9-107.5a7.9 7.9 0 0 1 5.4-5.4l107.5-29.9a7.8 7.8 0 0 0 0-15l-107.5-29.9a7.9 7.9 0 0 1-5.4-5.4l-29.9-107.5a7.8 7.8 0 0 0-15 0l-29.9 107.5a7.9 7.9 0 0 1-5.4 5.4l-107.5 29.9a7.8 7.8 0 0 0 0 15Z"><animateTransform additive="sum" attributeName="transform" calcMode="spline" dur="6s" keySplines=".42, 0, .58, 1; .42, 0, .58, 1" repeatCount="indefinite" type="rotate" values="-15 256 256; 15 256 256; -15 256 256"/><animate attributeName="opacity" dur="6s" values="1; .75; 1; .75; 1; .75; 1"/></path></svg> </template>
CSS
.icon-star-fill {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGPqbGhekF1%22%20x1%3D%22187.9%22%20x2%3D%22324.1%22%20y1%3D%22138.1%22%20y2%3D%22373.9%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fcd966%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23fcd966%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fccd34%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url(%23SVGPqbGhekF1)%22%20stroke%3D%22%23fcd34d%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22m105.7%20263.5l107.5%2029.9a7.9%207.9%200%200%201%205.4%205.4l29.9%20107.5a7.8%207.8%200%200%200%2015%200l29.9-107.5a7.9%207.9%200%200%201%205.4-5.4l107.5-29.9a7.8%207.8%200%200%200%200-15l-107.5-29.9a7.9%207.9%200%200%201-5.4-5.4l-29.9-107.5a7.8%207.8%200%200%200-15%200l-29.9%20107.5a7.9%207.9%200%200%201-5.4%205.4l-107.5%2029.9a7.8%207.8%200%200%200%200%2015Z%22%20opacity%3D%221%22%20transform%3D%22rotate(-15%20256%20256)%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22SVGPqbGhekF1%22%20x1%3D%22187.9%22%20x2%3D%22324.1%22%20y1%3D%22138.1%22%20y2%3D%22373.9%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fcd966%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23fcd966%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fccd34%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url(%23SVGPqbGhekF1)%22%20stroke%3D%22%23fcd34d%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%20d%3D%22m105.7%20263.5l107.5%2029.9a7.9%207.9%200%200%201%205.4%205.4l29.9%20107.5a7.8%207.8%200%200%200%2015%200l29.9-107.5a7.9%207.9%200%200%201%205.4-5.4l107.5-29.9a7.8%207.8%200%200%200%200-15l-107.5-29.9a7.9%207.9%200%200%201-5.4-5.4l-29.9-107.5a7.8%207.8%200%200%200-15%200l-29.9%20107.5a7.9%207.9%200%200%201-5.4%205.4l-107.5%2029.9a7.8%207.8%200%200%200%200%2015Z%22%20opacity%3D%221%22%20transform%3D%22rotate(-15%20256%20256)%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center / contain;
}This icon is animated. Browsers do not run SVG animation inside a CSS mask, so the rule above uses a still of the drawn icon. Inline the SVG (or use the React/Vue/Svelte snippet) to keep the animation.
Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/meteocons/star-fill.svg?color=%231a73e8&size=48