# Star icon

A free star icon in SVG, also found under favorite, rating and bookmark. Set the stroke weight and the corners, then copy the code or download the file.

- Name: star
- Category: [People and reactions](https://icons.evanpizzolato.com/categories/people/)
- Also found under: favorite, rating, bookmark, featured, best
- Page: https://icons.evanpizzolato.com/icons/star/
- SVG file: https://icons.evanpizzolato.com/svg/star.svg
- CDN: https://cdn.jsdelivr.net/gh/evanpizzolato/quick-start-icons/src/star.svg
- License: MIT. Free for personal and commercial use. Attribution is not required.

## SVG

This is the file Copy gives you at the site defaults: square corners and a stroke weight of 1.25.

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="24" height="24" fill="none"
     stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="miter">
  <path d="M16.0 3.5 L19.1 11.8 L27.9 12.1 L20.9 17.6 L23.3 26.1 L16.0 21.2 L8.7 26.1 L11.1 17.6 L4.1 12.1 L12.9 11.8Z"/>
</svg>
```

## Use it from a CDN

The CDN file is the authored source: rounded corners, a stroke weight of 2, and no width or height. An image tag draws it in black, so paste the markup inline to color it with CSS.

```html
<img src="https://cdn.jsdelivr.net/gh/evanpizzolato/quick-start-icons/src/star.svg" width="24" height="24" alt="">
```

## Related icons

- [heart](https://icons.evanpizzolato.com/icons/heart.md)
- [accessibility](https://icons.evanpizzolato.com/icons/accessibility.md)
- [smile](https://icons.evanpizzolato.com/icons/smile.md)
- [thumbs-down](https://icons.evanpizzolato.com/icons/thumbs-down.md)
- [thumbs-up](https://icons.evanpizzolato.com/icons/thumbs-up.md)
- [user](https://icons.evanpizzolato.com/icons/user.md)
- [user-add](https://icons.evanpizzolato.com/icons/user-add.md)
- [user-minus](https://icons.evanpizzolato.com/icons/user-minus.md)
