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

use super::SvgIcon;

#[component]
pub fn Mails(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Mails" }
            rect { width: "16", height: "13", x: "2", y: "4", rx: "2" }
            path { d: "m22 7-7.1 3.78c-.57.3-1.23.3-1.8 0L6 7" }
            path { d: "M2 8v11c0 1.1.9 2 2 2h14" }
        }
    }
}