Install
pnpm add lucideWire icons
Use the lucide / lucideIcons adapter from ngwr/icon/adapters/lucide. Tree-shakes per icon — only what you import ships.
import { Plus, Trash2 } from 'lucide';
import { provideWrIcons } from 'ngwr/icon';
import { lucideIcons } from 'ngwr/icon/adapters/lucide';
bootstrapApplication(AppComponent, {
providers: [
provideWrIcons(lucideIcons({
add: Plus,
trash: Trash2,
})),
],
});
// Then in any template: <wr-icon name="add" />