A browser for the icons in the golang/x materialdesign/icons package.

  • By Steve Russo
  • Last update: Dec 15, 2022
  • Comments: 1

gio-icon-browser

A browser of every icon in the golang.org/x/exp/shiny/materialdesign/icons package, built with and for Gio.

Development

Native

To build the app, run go build (or just go build -tags nowayland for no Wayland support).

If you have task, goimports and gofumpt installed, you can simply run task (or task nowayland) to fmt, lint and build the project.

WebAssembly

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.

Acknowledgements

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.

License

This is free and unencumbered software released into the public domain. Please see the UNLICENSE file for more information.

Download

gio-icon-browser.zip

Comments(1)

  • 1

    add color selection

    Allow for users to chose the foreground (and maybe background?) color of the icons.

    A first iteration could be to provide a set of say 10 pre-determined colors.

    The target state should be full color selection that saves (maybe in the user's cache directory?) the last 10 or so colors they've used.