Command-line interface for the Iconify SDK. Manage, synchronize, and bundle icons for production with zero-friction.
dart pub global activate iconify_sdk_cliJust run iconify in your Flutter project root. The tool will intelligently handle everything:
- Auto-Init: Prompts to create
iconify.yamlif missing. - Auto-Scan: Scans your
lib/directory for icon usages. - JIT Sync: Proactively downloads missing icon collections.
- Optimized Bundle: Generates binary, font, and JSON assets.
# One-command optimization
iconifyInitialize Iconify in your project. Creates iconify.yaml.
Synchronize icon collections from GitHub to your local snapshot directory.
iconify syncBundle the icons used in your source code into optimized formats.
iconify generate --format=all --compress --font--format=binary: Create high-speed.iconbinfiles.--format=sprite: Create SVG sprite sheets for Web.--compress: Apply GZIP compression to all outputs (~70% reduction).--font: Generate an icon font for monochrome icons.
Generate an ICON_ATTRIBUTION.md file based on the icons used in your project.
Check your project configuration and local snapshots for issues.
MIT