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