IconCollection and IconGrid
Import the addon stylesheet when using addon components:
@import "@typlog/ui/addons";IconCollection is a complete icon picker. It starts with the Iconify collection catalog, then opens the selected collection in its built-in virtualized IconGrid. Use v-model:collection and v-model:query when the navigation state also needs to be controlled externally.
Examples
Icon grid
Use IconGrid directly when the collection picker is not needed and the available collection is already known.
Loading icons...
Selected: None
Multiple collections
Pass multiple prefixes to let people switch between each collection or browse all of them together.
Loading icons...
Selected: None
Global search
Without collections, IconGrid searches the global Iconify index once a query is provided.
Loading icons...
Selected: None
Customizing parts
Use the ui prop to add classes to stable component parts. IconCollection accepts nested ui.grid classes for its built-in grid, while each root also accepts Vue's standard class attribute.
Loading icons...