leptos_icons 0.0.1

Easily include a variety of SVG icons into your Leptos app, inspired by yew_icons
Documentation
1
use leptos :: * ; use crate :: { IconType , Path } ; fn icon_path (cx : Scope) -> Fragment { view ! { cx , < > < path d = "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" /> < circle cx = "9" cy = "7" r = "4" /> < line x1 = "19" y1 = "8" x2 = "19" y2 = "14" /> < line x1 = "22" y1 = "11" x2 = "16" y2 = "11" /> < / > } } pub const LucideUserPlus : Path = Path { path : icon_path , icon_type : IconType::Lucide , } ;