html
<i data-lucide="undo-2"></i>
tsx
import { Undo2 } from 'lucide-react';
const App = () => {
return (
<Undo2 />
);
};
export default App;
vue
<script setup>
import { Undo2 } from 'lucide-vue-next';
</script>
<template>
<Undo2 />
</template>
svelte
<script>
import { Undo2 } from 'lucide-svelte';
</script>
<Undo2 />
tsx
import { Undo2 } from 'lucide-preact';
const App = () => {
return (
<Undo2 />
);
};
export default App;
tsx
import { Undo2 } from 'lucide-solid';
const App = () => {
return (
<Undo2 />
);
};
export default App;
tsx
// app.module.ts
import { LucideAngularModule, Undo2 } from 'lucide-angular';
@NgModule({
imports: [
LucideAngularModule.pick({ Undo2 })
],
})
// app.component.html
<lucide-icon name="undo-2"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>
<div class="icon-undo-2"></div>