Skip to content

sparkles

stars • effect • filter • night • magic

Created:

v0.173.0

Last changed:

v0.378.0

Contributors:

karsa-mistmere
js
import { createIcons, icons } from 'lucide';

createIcons({ icons });

document.body.append('<i data-lucide="sparkles"></i>');  
tsx
import { Sparkles } from 'lucide-react';

const App = () => {
  return (
    <Sparkles />
  );
};

export default App;
vue
<script setup>
import { Sparkles } from 'lucide-vue-next';
</script>

<template>
  <Sparkles />
</template>
svelte
<script>
import { Sparkles } from 'lucide-svelte';
</script>

<Sparkles />
tsx
import { Sparkles } from 'lucide-preact';

const App = () => {
  return (
    <Sparkles />
  );
};

export default App;
tsx
import { Sparkles } from 'lucide-solid';

const App = () => {
  return (
    <Sparkles />
  );
};

export default App;
tsx
// app.module.ts
import { LucideAngularModule, Sparkles } from 'lucide-angular';

@NgModule({
  imports: [
    LucideAngularModule.pick({ Sparkles })
  ],
})

// app.component.html
<lucide-icon name="sparkles"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>

<div class="icon-sparkles"></div>