icons 0.5.2

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

use super::SvgIcon;

#[component]
pub fn Group(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Group" }
            path { d: "M3 7V5c0-1.1.9-2 2-2h2" }
            path { d: "M17 3h2c1.1 0 2 .9 2 2v2" }
            path { d: "M21 17v2c0 1.1-.9 2-2 2h-2" }
            path { d: "M7 21H5c-1.1 0-2-.9-2-2v-2" }
            rect { width: "7", height: "5", x: "1", y: "7", rx: "1" }
            rect { width: "7", height: "5", x: "1", y: "12", rx: "1" }
        }
    }
}