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

use super::SvgIcon;

#[component]
pub fn Sailboat(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! {
        <SvgIcon class=class>
            <title>"Rust UI Icons - Sailboat"</title>

            <path d="M22 18H2a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4Z" />
            <path d="M21 14 10 2 3 14h18Z" />
            <path d="M10 2v16" />
        </SvgIcon>
    }
}