jaspr_lucide
0.61.0, released 4 days ago by daazed.dev
Jaspr components for Lucide SVG icons
What it does
Provides pre-generated Jaspr components for all Lucide SVG icons. Each icon can be customized with width, height, viewBox and SVG attributes.
AI-written summary of version 0.61.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a large set of vector icons in a Jaspr web project
- You want to customize icon size or stroke color directly in JSX-like syntax
Skip it when
- You are building a Flutter app
- You need icons that are not part of Lucide
- You require runtime icon generation or dynamic icon sets
Strengths
- Large icon set from Lucide
- Easy to import via single export
- Customizable attributes per icon
Weaknesses
- Only works with Jaspr, not Flutter
- No support for icon theming beyond attributes
- No runtime icon lookup
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Add jaspr_lucide and jaspr to pubspec, run dart pub get
import 'package:jaspr_lucide/jaspr_lucide.dart';
section([
Dog(width: Unit.pixels(32), height: Unit.pixels(32), attributes: {'stroke': 'blue'}),
House(width: Unit.pixels(32), height: Unit.pixels(32), attributes: {'stroke': 'blue'}),
])Alternatives
Packages that do the same job and could replace jaspr_lucide.
- full_svg_flutter
Complete SVG runtime for Flutter with support for static vectors, SMIL, CSS, and filters.
83Compare - cached_network_svg_image
Load and cache SVG images from the network in Flutter
57Compare - icon_bundler
Bundle collections of svg, png, and jpg files into a single spritesheet image with generated code.
48Compare - svg_flag
Curated collection of all country flags in SVG format for Flutter.
47Compare
Works with
Packages commonly used together with jaspr_lucide: ones it builds on, ones built on it, and its own family.