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 , < > < rect x = "4" y = "4" width = "16" height = "16" rx = "2" ry = "2" /> < rect x = "9" y = "9" width = "6" height = "6" /> < line x1 = "9" y1 = "2" x2 = "9" y2 = "4" /> < line x1 = "15" y1 = "2" x2 = "15" y2 = "4" /> < line x1 = "9" y1 = "21" x2 = "9" y2 = "22" /> < line x1 = "15" y1 = "20" x2 = "15" y2 = "22" /> < line x1 = "20" y1 = "9" x2 = "22" y2 = "9" /> < line x1 = "20" y1 = "14" x2 = "22" y2 = "14" /> < line x1 = "2" y1 = "9" x2 = "4" y2 = "9" /> < line x1 = "2" y1 = "14" x2 = "4" y2 = "14" /> < / > } } pub const LucideCpu : Path = Path { path : icon_path , icon_type : IconType::Lucide , } ;