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

            <path d="M13.5 8h-3" />
            <path d="m15 2-1 2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3" />
            <path d="M16.899 22A5 5 0 0 0 7.1 22" />
            <path d="m9 2 3 6" />
            <circle cx="12" cy="15" r="3" />
        </SvgIcon>
    }
}