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 = "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7" /> < line x1 = "16" y1 = "5" x2 = "22" y2 = "5" /> < line x1 = "19" y1 = "2" x2 = "19" y2 = "8" /> < circle cx = "9" cy = "9" r = "2" /> < path d = "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" /> < / > } } pub const LucideImagePlus : Path = Path { path : icon_path , icon_type : IconType::Lucide , } ;