icons 0.2.7

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 SunMoon(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - SunMoon" }
            path { d: "M12 2v2" }
            path { d: "M13 8.129A4 4 0 0 1 15.873 11" }
            path { d: "m19 5-1.256 1.256" }
            path { d: "M20 12h2" }
            path { d: "M9 8a5 5 0 1 0 7 7 7 7 0 1 1-7-7" }
        }
    }
}