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