Export size24px

 

App.jsx
import { MagicStar } from "fmicon-react";

<MagicStar size={24} variant="duotone" strokeWidth={1} />

Props

PropTypeDefaultDescription
sizenumber | string24Width and height in pixels
variant"linear" | "bold" | …linearAny of the 8 styles, plus glass-light for light backgrounds
colorstringcurrentColorAny CSS colour; inherits the text colour by default
strokeWidthnumber1.5Line weight for linear, twotone, broken and duotone
...propsSVG attributes–className, aria-label, onClick and the rest

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 Duotone Style

Duotone icons pair the line with a soft tinted fill in the same colour. They add a hint of depth while staying easy to recolour with a single value.

Best for: product UI that wants a little colour without a full illustration style.

The same icon also comes in linear, outline, bold, bulk, twotone, broken and glass. See every icon in this look on the free duotone icons page.

How to Use the Magic Star Icon

  1. 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.
  2. Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
  3. Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made MagicStarIcon component.
  4. 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, use aria-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 icons

Magic 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.