
I made a fully typed Python library for all 10,995 Nerd Font icons (+ interactive terminal browser)
I got tired of copying Nerd Font glyphs from cheat sheets or remembering random codepoints, so I built nerdicons.
It's a Python library that provides typed, autocompletable access to every Nerd Font icon while also including a fast CLI and an interactive terminal browser.
Some examples:
from nerdicons import icons
print(icons.fa.github)
print(icons.md.home)
icons.get("fa-github")
icons.from_codepoint("f09b")
icons.search("rust")
Features:
- 🧠 Full IDE autocomplete (Pyright, Pylance, MyPy friendly)
- 🔎 Exact lookup by name, glyph, or codepoint
- ✨ Fuzzy search
- 🖥️ Interactive terminal browser
- 📋 One-key clipboard copy
- 📦 Zero runtime dependencies
- ⚡ Fast generated registry
- 🎯 Pinned to Nerd Fonts 3.5.0
- 📚 Covers 10,995 icons
CLI examples:
nerdicons search rust
nerdicons browse
nerdicons get fa-github
nerdicons copy fa-github
The browser supports keyboard navigation, live filtering, mouse scrolling, and instant clipboard copying.
I'd love feedback on the API or ideas for additional features.