icons 0.2.14

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 Sheet(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Sheet" }
            rect { width: "18", height: "18", x: "2", y: "2", rx: "2", ry: "2" }
            line { x1: "3", x2: "21", y1: "9", y2: "9" }
            line { x1: "3", x2: "21", y1: "15", y2: "15" }
            line { x1: "9", x2: "9", y1: "9", y2: "21" }
            line { x1: "15", x2: "15", y1: "9", y2: "21" }
        }
    }
}