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

use super::SvgIcon;

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

            <path d="M10 20h4" />
            <path d="M12 16v6" />
            <path d="M17 2h4v4" />
            <path d="m21 2-5.46 5.46" />
            <circle cx="12" cy="11" r="5" />
        </SvgIcon>
    }
}