Skip to content

leaf

sustainability • nature • energy • plant • autumn

Created:

v0.62.0

Last changed:

v0.62.0

Contributors:

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

createIcons({ icons });

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

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

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

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

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

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

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

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

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

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

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

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