Description
Nerd Font Icons for use in haskell.
Description
The `Graphics.Icons.NerdFont` module simplifies using Nerd Fonts Icons in your Haskell source code by providing constants for the icon code points.
README.md
nerd-font-icons
Nerd Fonts Icons for use in Haskell
A library for using NerdFonts Icons in Haskell Source code.
Usage
Import the module and use the icons in your strings.
import qualified Graphics.Icons.NerdFonts as NF
memInfo :: String -> String
memInfo memUsedPercent = NF.mdMemory <> " " <> memUsedPercent <> "%"
Autocompletion and this Cheat Sheet are useful to find the icons you want.
Requirements
Requires a patched font to properly display the icons.
You can find more info on how to patch your own fonts here
Info
The module is generated from the Nerd Fonts Repo using this shell script.
Based on Nerd Fonts Version: v3.3.0