icons 0.4.1

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

use super::SvgIcon;

#[component]
pub fn Calculator(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Calculator" }
            rect { width: "16", height: "20", x: "2", y: "2", rx: "2" }
            line { x1: "8", x2: "16", y1: "6", y2: "6" }
            line { x1: "16", x2: "16", y1: "14", y2: "18" }
            path { d: "M16 10h.01" }
            path { d: "M12 10h.01" }
            path { d: "M8 10h.01" }
            path { d: "M12 14h.01" }
            path { d: "M8 14h.01" }
            path { d: "M12 18h.01" }
            path { d: "M8 18h.01" }
        }
    }
}