John KuehJohn Kueh

sparkles icon

Heroicons · sparkles · MIT

Download SVG

The Heroicons sparkles icon depicts a cluster of stars, commonly used to indicate magic, newness, or special features.

Common uses

  • Highlighting a new feature
  • Indicating a 'pro' or premium option
  • Applying a visual flourish or decoration

Use it in React

Install
npm i @heroicons/react
Import & render
import { SparklesIcon } from '@heroicons/react/24/outline';

<SparklesIcon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<SparklesIcon className="size-6" />
24/solid
<SparklesIcon className="size-6" />
20/solid
<SparklesIcon className="size-6" />
16/solid
<SparklesIcon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
sparklesstarsmagicglittershimmer

FAQ

What is the sparkles icon used for?
It's typically used to draw attention to something new, special, or premium within a user interface.
How do I use the sparkles icon in React?
Import it using `import { SparklesIcon } from '@heroicons/react/24/outline'` and then use it as a component: `<SparklesIcon className="h-6 w-6" />`.
What is the license for the Heroicons sparkles icon?
The Heroicons library, including the sparkles icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Heroicons.

Looking for something else? Search Heroicons and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →