monomer-1.0.0.1: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Monomer.Graphics.RemixIcon

Description

Utility functions to retrieve the Unicode code point of a Remix Font using its representative name. These code points can be used in labels or buttons to show icons instead of regular text.

Make sure to load the remixicon.ttf font in your application and set textFont in the corresponding widget.

Existing icons can be browsed in https://remixicon.com.

The name has to be updated by adding a _remix_ prefix, applying capital case and removing dashes. For example, _"delete-bin"_ should be transformed to _"remixDeleteBin"_. Also note that most icons have line and fill versions, so you will also need to include that (for example, _"remixDeleteBinLine"_ or _"remixDeleteBinFill"_).

Documentation