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
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Microwave(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Microwave" }
            rect { width: "20", height: "15", x: "2", y: "4", rx: "2" }
            rect { width: "8", height: "7", x: "1", y: "8", rx: "1" }
            path { d: "M18 8v7" }
            path { d: "M6 19v2" }
            path { d: "M18 19v2" }
        }
    }
}