icons 0.4.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
18
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Medal(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Medal" }
            path { d: "M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15" }
            path { d: "M11 12 5.12 2.2" }
            path { d: "m13 12 5.88-9.8" }
            path { d: "M8 7h8" }
            circle { cx: "12", cy: "17", r: "5" }
            path { d: "M12 18v-2h-.5" }
        }
    }
}