@vyakriti/wappler-lucide-icons
v2.0.6
Published
Wappler App Connect extension for rendering Lucide icons with manual icon names.
Maintainers
Readme
Wappler Lucide Icons
A clean Wappler App Connect extension for rendering Lucide icons.
This rebuild intentionally uses manual text input for icon names. There are no select/dropdown icon pickers.
Install in Wappler
In Wappler, open Project Settings → Extensions.
Search for
@vyakriti/wappler-lucide-iconsand add this extension package.Run
Project Updateror restart Wappler if needed.In the App Connect component picker, look for:
Lucide → Lucide Icon
Usage
Wappler component syntax
<dmx-lucide-icon id="my_icon" icon="menu"></dmx-lucide-icon>This is the recommended syntax when you want Wappler App Connect properties, dynamic bindings, and automatic updates.
Examples of icon names:
menu
settings
arrow-right
circle-help
shopping-cartWith options:
<dmx-lucide-icon
id="next_icon"
icon="arrow-right"
size="32"
color="#0d6efd"
stroke-width="2"
label="Next"
></dmx-lucide-icon>Native Lucide syntax
You can also use Lucide's native data-lucide markup:
<i data-lucide="menu"></i>With options:
<i
data-lucide="arrow-right"
width="32"
height="32"
stroke-width="2"
stroke="#0d6efd"
aria-label="Next"
role="img"
></i>This syntax is useful for static HTML or when migrating existing Lucide markup. The extension runtime automatically scans and renders [data-lucide] elements.
Choosing a syntax
- Use
<dmx-lucide-icon>for Wappler/App Connect dynamic data and component properties. - Use
<i data-lucide="..."></i>for simple static icons or compatibility with Lucide documentation/examples. - Both syntaxes can be used on the same page.
Notes
- Icon names must be Lucide kebab-case names.
- Lucide is loaded from the pinned CDN URL:
https://unpkg.com/[email protected]/dist/umd/lucide.min.js - Runtime script is copied by Wappler to:
js/dmx-lucide-icon.js
