gomponents-iconify

module
v0.0.20231025 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: MIT

README

All the icons in a single place

mascot

Warning

This generates a LOT of code, first time you use a new iconset it will take a while to compile. Subsequent compiles will be much faster but be warned.

Go Reference

gomponents-iconify

Iconify as Gomponents. Similar to Maragudk's gomponents-heroicons but is a superset of all the icons available from Iconify. Currently the best way to search for icons is using https://icones.js.org/.

For example Material Design's Logout is available as mdi.Logout from github.com/delaneyj/gomponents-iconify/mdi.

Also each iconset has a IconFromName function that will return a gomponents.Node for the icon. For example mdi.IconFromName("logout") will return the same gomponents.Element as mdi.Logout. Useful for dynamic icon selection.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL