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 Mailbox(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Mailbox" }
            path { d: "M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z" }
            polyline { points: "15,9 18,9 18,11" }
            path { d: "M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2" }
            line { x1: "6", x2: "7", y1: "10", y2: "10" }
        }
    }
}