icons 0.2.6

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Highlighter(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Highlighter" }
            path { d: "m9 11-6 6v3h9l3-3" }
            path { d: "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" }
        }
    }
}