icons 0.2.16

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

use super::SvgIcon;

#[component]
pub fn TextCursor(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - TextCursor" }
            path { d: "M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1" }
            path { d: "M7 22h1a4 4 0 0 0 4-4v-1" }
            path { d: "M7 2h1a4 4 0 0 1 4 4v1" }
        }
    }
}