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