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 Cigarette(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! {
        <SvgIcon class=class>
            <title>"Rust UI Icons - Cigarette"</title>

            <path d="M17 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h14" />
            <path d="M18 8c0-2.5-2-2.5-2-5" />
            <path d="M21 16a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1" />
            <path d="M22 8c0-2.5-2-2.5-2-5" />
            <path d="M7 12v4" />
        </SvgIcon>
    }
}