ngx-iconify-stack

A lightweight, SSR-safe Angular wrapper for Iconify — 200,000+ icons from 150+ icon sets, driven by signals and zero runtime overhead.

Interactive Sandbox

Test any Iconify icon dynamically. Customize size, rotation, rendering modes, and get copy-paste ready Angular code.

Configuration

Supports any icon from Iconify's database (200k+ icons).

Live Preview
devicon:angular
Angular Usage
<ngx-iconify icon="devicon:angular" [size]="48" />

API Reference

Everything you need to configure <ngx-iconify> components.

InputTypeRequiredDefaultDescription
iconstringrequiredIconify icon identifier, e.g. "mdi:home" or "lucide:arrow-right".
sizenumberoptionalConvenience input — sets both width and height via font-size.
widthnumber | stringoptionalExplicit width in pixels. Overrides size.
heightnumber | stringoptionalExplicit height in pixels. Overrides size.
colorstringoptionalCSS color value for the icon (e.g. "#fff", "var(--color-accent)").
flip'horizontal' | 'vertical' | 'both'optionalFlip transformation applied to the icon.
rotatestring | numberoptionalRotation: "90", "180", "270" or a degree value.
mode'svg' | 'bg' | 'mask' | 'style'optionalRendering mode passed to the iconify-icon web component.
inlinebooleanoptionalfalseRenders inline — aligns icon to text baseline.
noObserverbooleanoptionalfalseDisables intersection observer; icon loads immediately.

Usage Examples

HTML / TS
<!-- Basic usage -->
<ngx-iconify icon="mdi:home" />

<!-- With size -->
<ngx-iconify icon="mdi:heart" [size]="32" />

<!-- With color -->
<ngx-iconify icon="mdi:star" [size]="24" color="#f59e0b" />