Lucide for Lit
Lucide provides a Lit-based package for web applications. Each icon is a LitElement subclass registered as a custom element (for example lucide-camera), rendering an inline SVG inside the shadow root.
List of features:
- Web standards: Icons are custom elements that work in any HTML page or Lit app.
- Customizable: Adjust
size,color,strokeWidth, andabsoluteStrokeWidthvia properties or attributes. - Tree-shakable: Import only the icons you use from the main entry.
- TypeScript: Types for icons and the
Iconhelper are included.