icons 0.2.5

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 Glasses(class: Option<String>) -> Element {
    rsx! {
            SvgIcon { class,
                title { "Rust UI Icons - Glasses" }
    <circle cx="6" cy="15" r="4" />
    <circle cx="18" cy="15" r="4" />
                path { d: "M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2" }
                path { d: "M2.5 13 5 7c.7-1.3 1.4-2 3-2" }
                path { d: "M21.5 13 19 7c-.7-1.3-1.5-2-3-2" }
            }
        }
}