icons 0.2.16

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 LifeBuoy(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - LifeBuoy" }
            circle { cx: "12", cy: "12", r: "10" }
            path { d: "m4.93 4.93 4.24 4.24" }
            path { d: "m14.83 9.17 4.24-4.24" }
            path { d: "m14.83 14.83 4.24 4.24" }
            path { d: "m9.17 14.83-4.24 4.24" }
            circle { cx: "12", cy: "12", r: "4" }
        }
    }
}