icon-ionic
Version, currently main branch1 version
- main branchlatestOct 22, 2026
github.com/kojix2/icon-ionic
No description declared in shard.yml.
Installation
# Add this to your shard.yml
dependencies:
icon-ionic:
github: kojix2/icon-ionic
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-ionic
Ionicons as 2,714 pre-rendered CrImage constants for Crystal: 1,357 icons at 24×24 and 32×32.
dependencies:
icon-ionic:
github: kojix2/icon-ionic
require "icon-ionic"
icon = Icon::Ionic::Heart24Outline
Names follow the SVG filenames, size, and style. Use require "icon-ionic/24_outline" to load one size and style; other groups are filled, sharp, and logos, each at 24 or 32. PNG data lives in src/data/*.tsv and is loaded by a Crystal macro. Constants are shared, mutable images; copy before editing.
Regenerate
Requires Python 3, librsvg, Cairo, and an upstream ZIP from the project linked above.
python3 scripts/generate.py /path/to/ionic.zip
python3 scripts/generate.py /path/to/ionic.zip --check
If upstream adds a new style, add its src/<group>.cr wrapper and require it from src/icon-ionic.cr.
MIT: shard, upstream icons.
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-ionic
Metadata
- Created
- Oct 24, 2026
- Updated
- Nov 13, 2026
- Synced
- Nov 13, 2026
- Versions
- 1