icons 0.2.5

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 Tickets(class: Option<String>) -> Element {
    rsx! {
            SvgIcon { class,
                title { "Rust UI Icons - Tickets" }
                path { d: "m4.5 8 10.58-5.06a1 1 0 0 1 1.342.488L18.5 8" }
                path { d: "M6 10V8" }
                path { d: "M6 14v1" }
                path { d: "M6 19v2" }
    <rect x="2" y="8" width="20" height="13" rx="2" />
            }
        }
}