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