icons 0.2.11

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

use super::SvgIcon;

#[component]
pub fn SunMoon(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! {
        <SvgIcon class=class>
            <title>"Rust UI Icons - SunMoon"</title>

            <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" />
        </SvgIcon>
    }
}