icons 0.2.10

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Cake(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Cake" }
            path { d: "M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8" }
            path { d: "M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1" }
            path { d: "M2 21h20" }
            path { d: "M7 8v3" }
            path { d: "M12 8v3" }
            path { d: "M17 8v3" }
            path { d: "M7 4h.01" }
            path { d: "M12 4h.01" }
            path { d: "M17 4h.01" }
        }
    }
}