The full Lucide set — 1,700+ icons — exposed as Dioxus components. Each icon is its own component, so the linker keeps only the ones you import.
Quick start
[]
= "0.1"
use *;
use Trash;
Every icon lives under dioxus_icons::lucide and accepts the shared IconProps.
Customization
IconProps keeps a size convenience prop and extends Dioxus SVG attributes on the root SVG.
| prop / attr | default | maps to |
|---|---|---|
size |
24 |
SVG width / height when those attrs are not set; accepts numbers or CSS lengths |
stroke |
"currentColor" |
SVG stroke |
fill |
"none" |
SVG fill |
stroke_width |
2 |
SVG stroke-width |
stroke_linecap |
"round" |
SVG stroke-linecap |
stroke_linejoin |
"round" |
SVG stroke-linejoin |
| SVG attrs | inherited | root SVG attributes |
# use *;
use Bell;
# let _ = rsx! ;
Because stroke defaults to currentColor, icons inherit the surrounding text color — so Tailwind's text-* utilities (or any CSS framework) work out of the box on either the icon or its parent:
# use *;
use ;
# let _ = rsx! ;
Dioxus compatibility
Targets the Dioxus 0.7.x line starting at 0.7.7. Pick your renderer features (web, desktop, mobile, server, fullstack) in your application crate.
Examples
Examples live under crates/dioxus-icons/examples:
License
Crate code is MIT (LICENSE). Generated icon data comes from Lucide and is covered by LICENSE-LUCIDE (upstream ISC plus the Feather-derived MIT notice). The published crate is MIT AND ISC.