Librería de iconos para Angular (agnóstica) | ng-hub-ui-icons

Iconos para Angular agnósticos al set: renderiza Font Awesome, Bootstrap Icons, Material Symbols, Solar o tus propios SVG con una sola API <hub-icon> / [hubIcon], tematizados con variables CSS.

Estilos

Mixins y estilos

Override the `--hub-icon-*` design tokens in a single include. Every parameter is OPTIONAL and defaults to `null`: only the parameters you pass are emitted, so the rest keep the defaults. `color` defaults to `currentColor`, so an icon inherits its surrounding text colour unless themed. Token-based and self-contained.

Theming with hub-icon-theme
MixinParámetrosDescripción
Theming
hub-icon-theme()
$color--hub-icon-color
$size--hub-icon-size
$weight--hub-icon-weight
$fill--hub-icon-fill
$grade--hub-icon-grade
$optical-size--hub-icon-optical-size
One-call token theming for `<hub-icon>` / `[hubIcon]`

Variables CSS

Personaliza cada detalle con 6 variables CSS. Sobrescríbelas en :root o acótalas a un contenedor.

Icon

Design tokens read by this component. Override them on the host element (or any ancestor) to customize; every default falls back to the ng-hub-ui-ds layer.

VariablePor defectoTipoDescripción
--hub-icon-size1emlength Tamaño del icono (font-size en glyphs; ancho/alto en SVG).
--hub-icon-colorcurrentColorcolor Color del icono (color en glyphs; fill en SVG).
--hub-icon-fill0color Eje FILL de Material Symbols.
--hub-icon-weight400string Eje wght de Material Symbols.
--hub-icon-grade0string Eje GRAD de Material Symbols.
--hub-icon-optical-size24length Eje opsz de Material Symbols.