Lucide v1 is out! You're looking at the site for v1, for v0 go to v0 site

Skip to content

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, and absoluteStrokeWidth via properties or attributes.
  • Tree-shakable: Import only the icons you use from the main entry.
  • TypeScript: Types for icons and the Icon helper are included.

Overview

Getting started

Reference