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 RockingChair(class: Option<String>) -> Element {
    rsx! {
            SvgIcon { class,
                title { "Rust UI Icons - RockingChair" }
    <polyline points="3.5 2 6.5 12.5 18 12.5" />
    <line x1="9.5" x2="5.5" y1="12.5" y2="20" />
    <line x1="15" x2="18.5" y1="12.5" y2="20" />
                path { d: "M2.75 18a13 13 0 0 0 18.5 0" }
            }
        }
}