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

use super::SvgIcon;

#[component]
pub fn Touchpad(class: Option<String>) -> Element {
    rsx! {
            SvgIcon { class,
                title { "Rust UI Icons - Touchpad" }
    <rect width="20" height="16" x="2" y="4" rx="2" />
                path { d: "M2 14h20" }
                path { d: "M12 20v-6" }
            }
        }
}