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

use super::SvgIcon;

#[component]
pub fn BookImage(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - BookImage" }
            path { d: "m20 13.7-2.1-2.1a2 2 0 0 0-2.8 0L9.7 17" }
            path { d: "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20" }
            circle { cx: "10", cy: "8", r: "2" }
        }
    }
}