icons 0.5.1

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 PocketKnife(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - PocketKnife" }
            path { d: "M3 2v1c0 1 2 1 2 2S3 6 3 7s2 1 2 2-2 1-2 2 2 1 2 2" }
            path { d: "M18 6h.01" }
            path { d: "M6 18h.01" }
            path { d: "M20.83 8.83a4 4 0 0 0-5.66-5.66l-12 12a4 4 0 1 0 5.66 5.66Z" }
            path { d: "M18 11.66V22a4 4 0 0 0 4-4V6" }
        }
    }
}