icon-fluent
Version, currently main branch1 version
- main branchlatestOct 22, 2026
github.com/kojix2/icon-fluent
No description declared in shard.yml.
Installation
# Add this to your shard.yml
dependencies:
icon-fluent:
github: kojix2/icon-fluent
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
Dependencies
Runtime Dependencies
- crimage*github: naqvis/crimage
README
icon-fluent
Fluent UI System Icons as pre-rendered CrImage constants for Crystal. Images use the size in each SVG filename.
dependencies:
icon-fluent:
github: kojix2/icon-fluent
require "icon-fluent"
icon = Icon::Fluent::Add20Filled
Includes every upstream SVG: regular, filled, light, and color, including language and direction variants. Names follow the SVG filenames, size, and style. Use require "icon-fluent/20_filled" to load one size and style. PNG data lives in src/data/*.tsv and is loaded by a Crystal macro. Constants are shared, mutable images; copy before editing. Source colors and transparency are retained.
Regenerate
Requires Python 3, librsvg, Cairo, and a ZIP of the upstream repository.
python3 scripts/generate.py /path/to/fluentui-system-icons.zip
python3 scripts/generate.py /path/to/fluentui-system-icons.zip --check
If upstream adds a new size or style, add its src/<group>.cr wrapper and require it from src/icon-fluent.cr.
MIT: shard, upstream icons and notice.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Oct 22, 2026
- Indexed
- yes
Dependents
Repository
github.com/kojix2/icon-fluent
Metadata
- Created
- Oct 22, 2026
- Updated
- Nov 11, 2026
- Synced
- Nov 11, 2026
- Versions
- 1