icons 0.1.5

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
use leptos::prelude::*;

use crate::_svg_icon::SvgIcon;

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

            <circle cx="12" cy="12" r="4" />
            <path d="M12 2v2" />
            <path d="M12 20v2" />
            <path d="m4.93 4.93 1.41 1.41" />
            <path d="m17.66 17.66 1.41 1.41" />
            <path d="M2 12h2" />
            <path d="M20 12h2" />
            <path d="m6.34 17.66-1.41 1.41" />
            <path d="m19.07 4.93-1.41 1.41" />
        </SvgIcon>
    }
}