import { Star } from "fmicon-react";
<Star size={24} variant="bulk" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
More in Support & Likes
What is the Star Icon?
The star icon is a five-pointed star, and it does two jobs in interfaces: rating something on a scale and marking an item as important or a favourite. Rows of stars show review scores, while a single star toggle pins an email, file or contact to the top of a list.
Stars have meant excellence since hotel and restaurant guides started grading with them in the early twentieth century, so a row of five works as a rating icon almost everywhere. A single star means starred or important, a habit popularised by email clients. It differs from the heart, which carries affection, and from the bookmark, which simply saves a place to come back to. Half-filled stars show average scores between whole numbers.
When to Use the Star Icon
- Product review summary: a row of five stars with the average score and the number of reviews beside it.
- Email list row: a toggle that stars a message so it appears in the starred folder.
- Code repository page: a star button that shows interest in a project and counts its total stars.
- App feedback prompt: a tappable five-star scale asking customers to rate their latest order.
The Star Icon in Bulk Style
Bulk icons put a solid shape over a softer, semi-transparent one. You get depth and a clear focal point from a single colour, with no second colour to manage.
Best for: feature lists, empty states and cards that need a bit more presence.
The same icon also comes in linear, outline, bold, twotone, broken, glass and duotone. See every icon in this look on the free bulk icons page.
How to Use the Star Icon
- Customise it. Bulk is a filled style, so pick a size and colour on the left; stroke weight doesn't apply.
- Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
- Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made
StarIconcomponent. - Label it. If the icon is the only thing in a button, give it a name for screen readers:
aria-label="Star this item". If text sits next to it, usearia-hidden="true"instead.
Design Tips for the Star Icon
- For rating inputs, make each star at least 32 pixels wide with spacing, because tapping the fourth star of a small row is fiddly.
- Render half stars with a clipped filled star over an outline star rather than a separate glyph, so the shapes line up exactly.
- Expose the score as text, for example Rated 4.5 out of 5, since screen readers cannot count filled stars.
Icons That Work Well with Star
Browse all support & likes iconsStar Icon FAQ
A single star usually means favourite or important: starring an email, file or project keeps it easy to find. A row of stars means a rating, where the number of filled stars shows the score. The context, one star or five, tells people which meaning applies.
Pick the star when favourites mean priority or quick access, as in starred emails or documents. Pick the heart when saving is personal, like a wishlist or liked songs. If your product already uses stars for ratings, choose the heart for favourites to avoid confusion.
Yes. The star icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.
SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.