ICONYZ
English
Sparkles icon from Prime Icons

Sparkles icon

prime:sparkles

The Sparkles icon (prime:sparkles) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Prime Icons
Author
PrimeTek
License
MIT
Size
24 × 24
Tags
sparkle
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="m18.892 5.297l1.254.418a.3.3 0 0 1 0 .57l-1.254.418a.3.3 0 0 0-.19.19l-.417 1.253a.3.3 0 0 1-.57 0l-.418-1.254a.3.3 0 0 0-.19-.19l-1.253-.417a.3.3 0 0 1 0-.57l1.254-.418a.3.3 0 0 0 .19-.19l.417-1.253a.3.3 0 0 1 .57 0l.418 1.254c.03.09.1.16.19.19m-9.698-.25c.258-.775 1.354-.774 1.612 0l1.537 4.61l4.61 1.537c.774.258.774 1.354 0 1.612l-4.61 1.537l-1.537 4.61c-.258.774-1.354.774-1.612 0l-1.537-4.61l-4.61-1.537c-.775-.258-.775-1.354 0-1.612l4.61-1.537zM10 7.372L8.977 10.44a.85.85 0 0 1-.537.537L5.372 12l3.068 1.023a.85.85 0 0 1 .537.537L10 16.628l1.023-3.068a.85.85 0 0 1 .537-.537L14.628 12l-3.068-1.023a.85.85 0 0 1-.537-.537zm10.146 10.343l-1.254-.418a.3.3 0 0 1-.19-.19l-.417-1.253a.3.3 0 0 0-.57 0l-.418 1.254a.3.3 0 0 1-.19.19l-1.253.417a.3.3 0 0 0 0 .57l1.254.418c.09.03.16.1.19.19l.417 1.253a.3.3 0 0 0 .57 0l.418-1.254a.3.3 0 0 1 .19-.19l1.253-.417a.3.3 0 0 0 0-.57" clip-rule="evenodd"/></svg>

How to use the Sparkles icon

React

import { Icon } from "@iconify/react";

<Icon icon="prime:sparkles" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="prime:sparkles" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="prime:sparkles" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[prime--sparkles]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/prime -->
<div class="i-prime:sparkles"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="prime:sparkles"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/prime/sparkles.svg" alt="Sparkles icon" width="24" height="24">

Sparkles icon in other icon sets

Sparkles icon FAQ

Is the Sparkles icon free for commercial use?

Yes. Prime Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Sparkles icon in React?

Install @iconify/react and render <Icon icon="prime:sparkles" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Sparkles icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/prime/sparkles.svg" alt="Sparkles icon">, or paste the SVG code inline to style it with CSS.

Browse all Prime Icons →