icons 0.4.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 Binary(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Binary" }
            rect { width: "4", height: "6", x: "2", y: "14", rx: "2" }
            rect { width: "4", height: "6", x: "2", y: "4", rx: "2" }
            path { d: "M6 20h4" }
            path { d: "M14 10h4" }
            path { d: "M6 14h2v6" }
            path { d: "M14 4h2v6" }
        }
    }
}