icons 0.2.5

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

use super::SvgIcon;

#[component]
pub fn PictureInPicture(class: Option<String>) -> Element {
    rsx! {
            SvgIcon { class,
                title { "Rust UI Icons - PictureInPicture" }
                path { d: "M2 10h6V4" }
                path { d: "m2 4 6 6" }
                path { d: "M21 10V7a2 2 0 0 0-2-2h-7" }
                path { d: "M3 14v2a2 2 0 0 0 2 2h3" }
    <rect x="12" y="14" width="10" height="7" rx="1" />
            }
        }
}