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