lepticons-picker
Embeddable icon picker for Leptos applications, powered by Lucide icons.
Part of the Lepticons toolkit.
Quick Start
use LucideGlyph;
use IconPickerPopover;
use *;
let = signal;
view!
Components
IconPicker
Inline picker with search, category filter, and selectable grid.
<IconPicker
selected=icon
on_select=new
/>
IconPickerPopover
Popover wrapper -- shows the picker in a dropdown when a trigger element is clicked.
IconSearch
Standalone debounced search input with search/clear icons.
IconGrid
Standalone selectable icon grid with tooltips.
CategoryFilter
Standalone category list with icon counts.
Customization
All components accept class props for full CSS override. Default styling uses CSS custom properties with inline fallbacks:
}
Tailwind users: pass classes via class, cell_class, etc. props. Inline style fallbacks have lower specificity and won't conflict.
Related Crates
- lepticons -- core icon library (required dependency)
- lepticons-animate -- stroke draw-in and CSS utility animations
Requirements
- Leptos 0.8.x
- lepticons 0.10.x
Demo
License
MIT