icons 0.2.7

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Building2(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Building2" }
            path { d: "M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z" }
            path { d: "M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2" }
            path { d: "M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2" }
            path { d: "M10 6h4" }
            path { d: "M10 10h4" }
            path { d: "M10 14h4" }
            path { d: "M10 18h4" }
        }
    }
}