icons 0.2.7

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
17
18
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn CarFront(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - CarFront" }
            path { d: "m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8" }
            path { d: "M7 14h.01" }
            path { d: "M17 14h.01" }
            rect { width: "18", height: "8", x: "2", y: "10", rx: "2" }
            path { d: "M5 18v2" }
            path { d: "M19 18v2" }
        }
    }
}