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

use super::SvgIcon;

#[component]
pub fn TrainFront(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - TrainFront" }
            path { d: "M8 3.1V7a4 4 0 0 0 8 0V3.1" }
            path { d: "m9 15-1-1" }
            path { d: "m15 15 1-1" }
            path { d: "M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z" }
            path { d: "m8 19-2 3" }
            path { d: "m16 19 2 3" }
        }
    }
}