icons 0.4.5

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Forklift(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Forklift" }
            path { d: "M12 12H5a2 2 0 0 0-2 2v5" }
            circle { cx: "13", cy: "19", r: "2" }
            circle { cx: "5", cy: "19", r: "2" }
            path { d: "M8 19h3m5-17v17h6M6 12V7c0-1.1.9-2 2-2h3l5 5" }
        }
    }
}