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