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

use super::SvgIcon;

#[component]
pub fn Mars(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Mars" }
            path { d: "M16 3h5v5" }
            path { d: "m21 3-6.75 6.75" }
            circle { cx: "10", cy: "14", r: "6" }
        }
    }
}