Skip to content
pubscout

jaspr_lucide

0.61.0, released 4 days ago by daazed.dev

Jaspr components for Lucide SVG icons

WASM-ready
$ flutter pub add jaspr_lucide
Source repository

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.

Works with

Packages commonly used together with jaspr_lucide: ones it builds on, ones built on it, and its own family.