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 DatabaseZap(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - DatabaseZap" }
            ellipse { cx: "12", cy: "5", rx: "9", ry: "3" }
            path { d: "M3 5V19A9 3 0 0 0 15 21.84" }
            path { d: "M21 5V8" }
            path { d: "M21 12L18 17H22L19 22" }
            path { d: "M3 12A9 3 0 0 0 14.59 14.87" }
        }
    }
}