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 Router(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Router" }
            rect { width: "20", height: "8", x: "2", y: "14", rx: "2" }
            path { d: "M6.01 18H6" }
            path { d: "M10.01 18H10" }
            path { d: "M15 10v4" }
            path { d: "M17.84 7.17a4 4 0 0 0-5.66 0" }
            path { d: "M20.66 4.34a8 8 0 0 0-11.31 0" }
        }
    }
}