icons 0.2.7

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 leptos::prelude::*;

use super::SvgIcon;

#[component]
pub fn PocketKnife(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! {
        <SvgIcon class=class>
            <title>"Rust UI Icons - PocketKnife"</title>

            <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" />
        </SvgIcon>
    }
}