icons 0.4.2

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Timer(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Timer" }
            line { x1: "10", x2: "14", y1: "2", y2: "2" }
            line { x1: "12", x2: "15", y1: "14", y2: "11" }
            circle { cx: "12", cy: "14", r: "8" }
        }
    }
}