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

use super::SvgIcon;

#[component]
pub fn Frame(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Frame" }
            line { x1: "22", x2: "2", y1: "6", y2: "6" }
            line { x1: "22", x2: "2", y1: "18", y2: "18" }
            line { x1: "6", x2: "6", y1: "2", y2: "22" }
            line { x1: "18", x2: "18", y1: "2", y2: "22" }
        }
    }
}