icons 0.2.8

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 DoorClosedLocked(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - DoorClosedLocked" }
            path { d: "M10 12h.01" }
            path { d: "M18 9V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14" }
            path { d: "M2 20h8" }
            path { d: "M20 17v-2a2 2 0 1 0-4 0v2" }
            rect { width: "8", height: "5", x: "1", y: "17", rx: "1" }
        }
    }
}