import { MagicStar } from "fmicon-react";
<MagicStar size={24} variant="broken" strokeWidth={1} />
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 Magic Star Icon?
The AI icon shows a star surrounded by small sparkles, the symbol most products now use for features powered by artificial intelligence. Put it on buttons that generate, summarise, rewrite or suggest content automatically, so people know the result comes from a model rather than a fixed rule.
Sparkles once meant new, clean or magical, from cartoon shine marks to one-tap photo fixes. Around 2023, major writing, design and productivity tools adopted sparkles for their generative features, and the shape quickly became the shorthand for AI. It differs from a plain star, which means rating or favourite, and from a wand, which older apps used for automatic corrections. The extra small stars are what suggest something being created.
When to Use the Ai Icon
- Document editor toolbar: a Write with AI button that drafts or rewrites the selected paragraph.
- Email client: a summarise thread action at the top of a long conversation with many replies.
- Photo app: a one-tap edit that removes background objects or fixes poor lighting in a picture.
- Search bar: a toggle between ordinary keyword results and an AI generated answer at the top.
The Magic Star Icon in Broken Style
Broken icons leave small, deliberate gaps in the stroke. The result feels hand-drawn and airy, and it softens an interface without making it look unfinished.
Best for: playful brands, landing pages and illustrations.
The same icon also comes in linear, outline, bold, bulk, twotone, glass and duotone. See every icon in this look on the free broken icons page.
How to Use the Magic Star Icon
- Customise it. Pick a stroke weight, size and colour on the left. Thin (1 px) looks best at large sizes, Regular (1.5 px) is the default.
- 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
MagicStarIconcomponent. - Label it. If the icon is the only thing in a button, give it a name for screen readers:
aria-label="Generate with AI". If text sits next to it, usearia-hidden="true"instead.
Design Tips for the Magic Star Icon
- Reserve the sparkle for AI features only; using it for new or promoted items as well dilutes the meaning people now expect.
- Pair it with a verb label like Summarise or Generate, because the sparkle says how something works, not what it will do.
- Mark AI generated output with the same small sparkle, so people can trace which content came from the model and review it.
Icons That Work Well with Magic Star
Browse all support & likes iconsMagic Star Icon FAQ
Sparkles suggest something appearing as if by magic, which fits content that is generated in a moment. Large software makers adopted the AI sparkle icon for their generative features, and other products followed so people would recognise the pattern. It now reads as AI across most tools.
It is a star with small sparkles that marks an automatic feature that does work for you, most often using AI. Pressing it might write a draft, tidy a photo or suggest replies. Treat its output as a suggestion you can review, edit or undo.
Yes. The magic 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.