icons 0.2.10

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 Hospital(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Hospital" }
            path { d: "M12 6v4" }
            path { d: "M14 14h-4" }
            path { d: "M14 18h-4" }
            path { d: "M14 8h-4" }
            path { d: "M18 12h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2" }
            path { d: "M18 22V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v18" }
        }
    }
}