| Crates.io | lucide-rust |
| lib.rs | lucide-rust |
| version | 0.1.5 |
| created_at | 2025-09-16 09:15:16.971134+00 |
| updated_at | 2025-09-17 05:20:27.605335+00 |
| description | Lucide icon components for Rust UI frameworks (Dioxus, Leptos, Yew, Sycamore) |
| homepage | https://github.com/codegress-com/lucide-rust |
| repository | https://github.com/codegress-com/lucide-rust |
| max_upload_size | |
| id | 1841234 |
| size | 10,272,667 |
Beautiful, customizable SVG icons for Rust web applications. Built for modern frameworks like Leptos, Yew, Dioxus, and Sycamore.
Add to your Cargo.toml:
[dependencies]
# Choose your framework
lucide-rust = { version = "0.1.0", features = ["leptos"] }
# lucide-rust = { version = "0.1.0", features = ["yew"] }
# lucide-rust = { version = "0.1.0", features = ["dioxus"] }
# lucide-rust = { version = "0.1.0", features = ["sycamore"] }
Use in your components:
use lucide_rust::*;
// Leptos
view! {
<Home class="w-6 h-6 text-gray-600" />
<Search class="w-4 h-4" />
<Settings class="w-5 h-5 text-blue-500" />
}
// Yew
html! {
<Home class="w-6 h-6 text-gray-600" />
<Search size=16 />
<Settings color="blue" />
}
// Dioxus
rsx! {
Home { class: "w-6 h-6 text-gray-600" }
Search { size: 16 }
Settings { color: "blue" }
}
// Sycamore
view! {
Home(class="w-6 h-6 text-gray-600")
Search(size=16)
Settings(color="blue")
}
Include only the icon categories you need:
[dependencies]
lucide-rust = {
version = "0.1.0",
features = ["leptos", "navigation", "files", "communication"]
}
| Category | Icons | Description |
|---|---|---|
navigation |
50+ | Home, menu, arrows, chevrons |
files |
40+ | Folder, document, download, upload |
communication |
30+ | Mail, phone, message, video |
multimedia |
25+ | Play, pause, volume, camera |
arrows |
20+ | Directional indicators |
tools |
35+ | Settings, edit, search, filter |
📋 View All Categories & Icons →
# Common combinations
features = ["leptos", "essentials"] # Core navigation + files
features = ["leptos", "web-app"] # Perfect for web applications
features = ["leptos", "mobile-app"] # Optimized for mobile apps
features = ["leptos", "all-icons"] # Everything (larger bundle)
All icon components support these props:
size: usize (default: 24) - Icon size in pixelscolor: String (default: "currentColor") - Stroke colorfill: String (default: "none") - Fill colorstroke_width: usize (default: 2) - Stroke widthabsolute_stroke_width: bool (default: false) - Whether to scale stroke with iconclass: Option<String> - CSS class namesnode_ref, style, etc.This project is licensed under the MIT License - see the LICENSE file for details.