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

use super::SvgIcon;

#[component]
pub fn Spotlight(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Spotlight" }
            path { d: "M15.295 19.562 16 22" }
            path { d: "m17 16 3.758 2.098" }
            path { d: "m19 12.5 3.026-.598" }
            path { d: "M7.61 6.3a3 3 0 0 0-3.92 1.3l-1.38 2.79a3 3 0 0 0 1.3 3.91l6.89 3.597a1 1 0 0 0 1.342-.447l3.106-6.211a1 1 0 0 0-.447-1.341z" }
            path { d: "M8 9V2" }
        }
    }
}