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