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

use super::SvgIcon;

#[component]
pub fn Sword(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Sword" }
            polyline { points: "14.5 17.5 3 6 3 3 6 3 17.5 14.5" }
            line { x1: "13", x2: "19", y1: "19", y2: "13" }
            line { x1: "16", x2: "20", y1: "16", y2: "20" }
            line { x1: "19", x2: "21", y1: "21", y2: "19" }
        }
    }
}