go get gio.tools/icons
This package contains all of the icons in golang.org/x/exp/shiny/materialdesign/icons as Gio icon widgets.
go install gio.tools/icons/cmd/gio-icon-browser@latest
This project also has a browser of every icon in the golang.org/x/exp/shiny/materialdesign/icons package, built with and for Gio.
To build the app, run go build
(or just go build -tags nowayland
for no Wayland
support).
If you have task
,
goimports
,
gofumpt
and
staticcheck
installed, you can simply run task
(or task nowayland
) to fmt, lint and build the project.
If you have gogio
installed, you can run task wasm
to build the web assembly assets. To view these in a browser, serve up the files in
the wasm_assets
directory.
The idea and name are inspired by the gtk3-icon-browser
and
gtk4-icon-browser
. The use of golang.org/x/tool/go/packages
to generate the
icon data was from looking at pierrec's
iconx.
This is free and unencumbered software released into the public domain. Please see the UNLICENSE file for more information.