icons 0.2.14

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 Crosshair(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Crosshair" }
            circle { cx: "12", cy: "12", r: "10" }
            line { x1: "22", x2: "18", y1: "12", y2: "12" }
            line { x1: "6", x2: "2", y1: "12", y2: "12" }
            line { x1: "12", x2: "12", y1: "6", y2: "2" }
            line { x1: "12", x2: "12", y1: "22", y2: "18" }
        }
    }
}