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

use super::SvgIcon;

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

            <path d="M12 12H5a2 2 0 0 0-2 2v5" />
            <circle cx="13" cy="19" r="2" />
            <circle cx="5" cy="19" r="2" />
            <path d="M8 19h3m5-17v17h6M6 12V7c0-1.1.9-2 2-2h3l5 5" />
        </SvgIcon>
    }
}