icons 0.4.6

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 LayoutList(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - LayoutList" }
            rect { width: "7", height: "7", x: "1", y: "3", rx: "1" }
            rect { width: "7", height: "7", x: "1", y: "14", rx: "1" }
            path { d: "M14 4h7" }
            path { d: "M14 9h7" }
            path { d: "M14 15h7" }
            path { d: "M14 20h7" }
        }
    }
}