Angular Icon Library (set-agnostic) | ng-hub-ui-icons

Icon-set-agnostic Angular icons: render Font Awesome, Bootstrap Icons, Material Symbols, Solar or your own SVGs through one <hub-icon> / [hubIcon] API, themed with CSS variables.

API reference

Here's the full contract for icons: everything you can bind, listen to, project and theme, gathered in one place. Wire up what you need and style what you want — it's standalone and signal-friendly.

Inputs

Dial icons in with 7 inputs. Bind them like any Angular @Input.

NameTypeDefaultDescription
nameRequiredstringIcon name. Accepts the pack:variant:name shorthand.
packstringdefaultPackPack key; overrides a shorthand pack and the configured defaultPack.
variantstringVariant; overrides a shorthand variant and the pack default.
size (hub-icon)string1emPer-instance size, written to --hub-icon-size (hub-icon only).
color (hub-icon)stringcurrentColorPer-instance color, written to --hub-icon-color (hub-icon only).
label (hub-icon)stringAccessible label: sets role="img" + aria-label; without it the icon is decorative (hub-icon only).
spin (hub-icon)booleanfalseContinuously rotate the icon, e.g. for loaders (hub-icon only).

Outputs

No outputs documented yet.

Templates

No templates documented yet.