lucide_kit
Lucide icons for DartNative
apps. It has the 1,666 regular-weight icons of Lucide 0.562.0 as IconData
constants, and bundles the font.

- Same names as the Flutter package. Code written against
lucide_icons_flutterports by changing one import:LucideIcons.housestaysLucideIcons.house. - Previews in your editor. Each constant's doc comment carries the icon's Lucide name and an SVG preview, which IDEs show on hover.
- Only what you use ships. The DartNative build tree-shakes the icon font down to the icons your app references.
Install
dependencies:
lucide_kit:
hosted: https://dartpub.dev
version: ^0.1.0
dn pub get
Use
import 'package:dartnative/dartnative.dart';
import 'package:lucide_kit/lucide_kit.dart';
Icon(LucideIcons.house, size: 24, color: const Color(0xFF111111));
Anywhere DartNative takes an IconData works, for example
BottomNavigationBarItem(icon: Icon(LucideIcons.users), label: 'Team').
Browse the names at lucide.dev/icons and convert
kebab-case to camelCase (circle-check → circleCheck). A name starting with
a digit is prefixed as in lucide_icons_flutter.
lucideIconCount and lucideVersion tell you what the package contains.
Porting from Flutter
| Flutter | DartNative |
|---|---|
import 'package:lucide_icons_flutter/lucide_icons.dart'; |
import 'package:lucide_kit/lucide_kit.dart'; |
LucideIcons.house |
LucideIcons.house |
LucideIcons.house100 … house900 (weights) |
not included: regular weight only |
Icons from the older lucide_icons package (0.257) mostly keep their names.
Lucide renamed a few since then; the Lucide changelog lists them.
Not included
- Weight variants. Only the regular weight is shipped, to keep apps small.
- Right-to-left mirroring. DartNative's
IconDatahas nomatchTextDirection, so directional icons such as arrows and chevrons don't flip under RTL. Pick the mirrored icon yourself, e.g.isRtl ? LucideIcons.chevronLeft : LucideIcons.chevronRight.
Updating to a newer Lucide
lib/lucide_kit.dart and lib/assets/lucide.ttf are generated from a
lucide_icons_flutter release:
dn pub run tool/generate.dart ~/.pub-cache/hosted/pub.dev/lucide_icons_flutter-<version>
dn test
Example
example/lib/main.dart draws a grid of icons.
cd example && dn run
Credits and licenses
- Lucide, the icons and the font: ISC License, © Lucide Contributors, with portions © Cole Bemis (Feather, MIT).
- lucide_icons_flutter by vqh2602, the source of the names and code points: MIT.
- This package's own code: MIT, see LICENSE.
The full notices are in THIRD_PARTY_NOTICES. They ship with the package, and DartNative adds them to your app's licence notices.