github
js
import { createIcons, icons } from 'lucide';
createIcons({ icons });
document.body.append('<i data-lucide="github"></i>');
tsx
import { Github } from 'lucide-react';
const App = () => {
return (
<Github />
);
};
export default App;
vue
<script setup>
import { Github } from 'lucide-vue-next';
</script>
<template>
<Github />
</template>
svelte
<script>
import { Github } from 'lucide-svelte';
</script>
<Github />
tsx
import { Github } from 'lucide-preact';
const App = () => {
return (
<Github />
);
};
export default App;
tsx
import { Github } from 'lucide-solid';
const App = () => {
return (
<Github />
);
};
export default App;
tsx
// app.module.ts
import { LucideAngularModule, Github } from 'lucide-angular';
@NgModule({
imports: [
LucideAngularModule.pick({ Github })
],
})
// app.component.html
<lucide-icon name="github"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>
<div class="icon-github"></div>
See this icon in action
Bug
Feature
Github
112
8
11