icons 0.2.9

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

use super::SvgIcon;

#[component]
pub fn Bike(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Bike" }
            circle { cx: "18.5", cy: "17.5", r: "3.5" }
            circle { cx: "5.5", cy: "17.5", r: "3.5" }
            circle { cx: "15", cy: "5", r: "1" }
            path { d: "M12 17.5V14l-3-3 4-3 2 3h2" }
        }
    }
}