Rust Lucide Logo

Introduction

Rust Lucide is a Rust port of Lucide.

Lucide is a beautiful & consistent icon toolkit made by the community.

Frameworks

Rust Lucide is available for the following frameworks:

License

This project is available under the MIT license.

Rust For Web

The Rust Lucide project is part of the Rust For Web.

Rust For Web creates and ports web UI libraries for Rust. All projects are free and open source.

Frameworks

Lucide Dioxus

Implementation of the Lucide icon library for Dioxus applications.

Installation

cargo add lucide-dioxus

Usage

TODO

Props

TODO

Icons

Lucide Leptos

Implementation of the Lucide icon library for Leptos applications.

Installation

Install the icons from your command line.

cargo add lucide-leptos

Usage

use leptos::prelude::*;
use lucide_leptos::Camera;

#[component]
fn App() -> impl IntoView {
    view! {
        <Camera color="red" size=48 />
    }
}

Props

NameTypeDefault
sizeSignal<usize>24
colorSignal<String>"currentColor"
fillSignal<String>"none"
stroke_widthSignal<usize>2
absolute_stroke_widthSignal<bool>false

Icons

Lucide Yew

Implementation of the Lucide icon library for Yew applications.

Installation

Install the icons from your command line.

cargo add lucide-yew

Usage

use lucide_yew::Camera;
use yew::prelude::*;

#[component]
fn App() -> Html {
    html! {
        <Camera color="red" size=48 />
    }
}

Props

NameTypeDefault
sizeusize24
colorString"currentColor"
fillString"none"
stroke_widthusize2
absolute_stroke_widthboolfalse

Icons