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 = "M6 20h4" /> < path d = "M14 10h4" /> < path d = "M6 14h2v6" /> < path d = "M14 4h2v6" /> < rect x = "6" y = "4" width = "4" height = "6" /> < rect x = "14" y = "14" width = "4" height = "6" /> < / > } } pub const LucideBinary : Path = Path { path : icon_path , icon_type : IconType::Lucide , } ;