icons 0.2.6

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 Luggage(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Luggage" }
            path { d: "M6 20a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2" }
            path { d: "M8 18V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v14" }
            path { d: "M10 20h4" }
            circle { cx: "16", cy: "20", r: "2" }
            circle { cx: "8", cy: "20", r: "2" }
        }
    }
}