icons 0.2.16

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 Chrome(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Chrome" }
            circle { cx: "12", cy: "12", r: "10" }
            circle { cx: "12", cy: "12", r: "4" }
            line { x1: "21.17", x2: "12", y1: "8", y2: "8" }
            line { x1: "3.95", x2: "8.54", y1: "6.06", y2: "14" }
            line { x1: "10.88", x2: "15.46", y1: "21.94", y2: "14" }
        }
    }
}