Sparkles icon
andrsrxn:sparkles
The Sparkles icon (andrsrxn:sparkles) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- AI
- Tags
- sparkle
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M14.71 9.1L12 4L9.26 9.1L4.03 12l5.23 2.7L12 20.66l2.71-5.98l5.7-2.95zm-9.37 9.31l-.94-1.76l-.94 1.76l-1.8 1l1.8.92l.94 2.06l.94-2.06l1.95-1.01zM20.39 3.36l-.94-1.76l-.94 1.76l-1.8 1l1.8.92l.94 2.06l.94-2.06l1.95-1.02z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3.16 12C7.42 12 12 7.4 12 3.16M20.84 12C16.6 12 12 7.4 12 3.16M3.16 12C7.4 12 12 16.68 12 20.84M20.84 12C16.65 12 12 16.62 12 20.84m4.55-16.37c1.44 0 2.98-1.55 2.98-2.98M1.5 19.52c1.44 0 2.98-1.55 2.98-2.98M22.5 4.47c-1.43 0-2.97-1.55-2.97-2.98M7.46 19.52c-1.43 0-2.98-1.55-2.98-2.98"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.55 4.47c1.43 0 2.98 1.57 2.98 2.98M1.5 19.52c1.43 0 2.98 1.58 2.98 2.98M22.5 4.47c-1.4 0-2.97 1.55-2.97 2.98M7.46 19.52c-1.41 0-2.98 1.56-2.98 2.98"/></g></svg>How to use the Sparkles icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:sparkles" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:sparkles" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:sparkles" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--sparkles]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:sparkles"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:sparkles"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/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. andrsrxn/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="andrsrxn: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/andrsrxn/sparkles.svg" alt="Sparkles icon">, or paste the SVG code inline to style it with CSS.