Star icon
Download the Star icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.
- favorite
- rating
- rate
- review
- bookmark
- like
- featured
- favourite
Style
Size
Stroke
Filled icons have no stroke
Color
- Category
- general
- Styles
- Outline, filled
- Component
- IconStar
- License
- MIT · Paweł Kuna
Code
Copy it the way you use it
star.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873l-6.158 -3.245" />
</svg> Use the Star icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconStar } from '@tabler/icons-react';
<IconStar size={24} stroke={2} />Read the React guideVue example
import { IconStar } from '@tabler/icons-vue';
<IconStar :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconStar } from '@tabler/icons-svelte-runes';
<IconStar size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related