icons 0.2.15

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 VenusAndMars(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - VenusAndMars" }
            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" }
        }
    }
}