icons 0.2.5

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 CakeSlice(class: Option<String>) -> Element {
    rsx! {
            SvgIcon { class,
                title { "Rust UI Icons - CakeSlice" }
    <circle cx="9" cy="7" r="2" />
                path { d: "M7.2 7.9 3 11v9c0 .6.4 1 1 1h16c.6 0 1-.4 1-1v-9c0-2-3-6-7-8l-3.6 2.6" }
                path { d: "M16 13H3" }
                path { d: "M16 17H3" }
            }
        }
}