icons 0.4.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
17
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn CandyCane(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - CandyCane" }
            path { d: "M5.7 21a2 2 0 0 1-3.5-2l8.6-14a6 6 0 0 1 10.4 6 2 2 0 1 1-3.464-2 2 2 0 1 0-3.464-2Z" }
            path { d: "M17.75 7 15 2.1" }
            path { d: "M10.9 4.8 13 9" }
            path { d: "m7.9 9.7 2 4.4" }
            path { d: "M4.9 14.7 7 18.9" }
        }
    }
}