lucide_icons_lite

Lightweight Lucide icons for Flutter.

This community-maintained package provides the Lucide icon set as IconData values backed by one bundled font. It does not add stroke-weight variants, RTL mirroring, or per-icon widgets.

Installation

dependencies:
  lucide_icons_lite: ^1.39.0

Run flutter pub get after you add the dependency. Package versions follow upstream lucide-static releases.

Migration from lucide_icons

Replace the lucide_icons dependency with lucide_icons_lite. Replace package:lucide_icons/lucide_icons.dart with package:lucide_icons_lite/lucide_icons_lite.dart. The package keeps the LucideIcons class. Use LucideIcons.circleEuro in new code. LucideIcons.circleEuroSign remains available as a deprecated alias for applications that used version 1.24.0.

Usage

import 'package:lucide_icons_lite/lucide_icons_lite.dart';

Icon(LucideIcons.activity);

Visit lucide.dev for the full icon list.

Updating the icon set

The Update Lucide icons workflow checks for new lucide-static releases every 4 hours. When one is found, it regenerates the package and opens a pull request.

Run the same update locally with the repository's merry script:

dart run merry run update-icons

The script performs these actions:

pnpm add lucide-static@latest
cp node_modules/lucide-static/font/lucide.css assets/lucide.css
cp node_modules/lucide-static/font/lucide.ttf assets/lucide.ttf
dart run tool/generate_fonts.dart assets/lucide.css \
  --inline-svg \
  --svg-dir=./node_modules/lucide-static/icons

The generator reads .icon-<name>::before rules from the CSS file and creates the corresponding Dart constants. The --inline-svg flag adds SVG previews to the generated Dart documentation.

Libraries

lucide_icons_lite