icons 0.2.9

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Key(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Key" }
            path { d: "m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4" }
            path { d: "m21 2-9.6 9.6" }
            circle { cx: "7.5", cy: "15.5", r: "5.5" }
        }
    }
}