icons 0.2.11

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

use super::SvgIcon;

#[component]
pub fn VectorSquare(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - VectorSquare" }
            path { d: "M19.5 7a24 24 0 0 1 0 10" }
            path { d: "M4.5 7a24 24 0 0 0 0 10" }
            path { d: "M7 19.5a24 24 0 0 0 10 0" }
            path { d: "M7 4.5a24 24 0 0 1 10 0" }
            rect { width: "5", height: "5", x: "1", y: "17", rx: "1" }
            rect { width: "5", height: "5", x: "1", y: "2", rx: "1" }
            rect { width: "5", height: "5", x: "1", y: "17", rx: "1" }
            rect { width: "5", height: "5", x: "1", y: "2", rx: "1" }
        }
    }
}