icons 0.2.7

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 Cast(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Cast" }
            path { d: "M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6" }
            path { d: "M2 12a9 9 0 0 1 8 8" }
            path { d: "M2 16a5 5 0 0 1 4 4" }
            line { x1: "2", x2: "2.01", y1: "20", y2: "20" }
        }
    }
}