Icons
HtmlForgeX includes the Tabler Icons library with 1,500+ SVG icons.
Basic Usage
new TablerIcon(TablerIconType.Home)
new TablerIcon(TablerIconType.Users)
new TablerIcon(TablerIconType.Settings)Icon Sizing
new TablerIcon(TablerIconType.Star).Size(24)
new TablerIcon(TablerIconType.Star).Size(48)Icon Colors
new TablerIcon(TablerIconType.Heart).StrokeColor(RGBColor.Red)Icons with Components
Icons integrate with buttons, badges, alerts, and other components:
// Button with icon
new TablerButton("Add", TablerButtonVariant.Primary).Icon(TablerIconType.Plus)
// Alert with icon
new TablerAlert("Done!", "Changes were stored successfully.", TablerColor.Green).Icon(TablerIconType.Check)SVG-Based
All icons are SVG-based, providing:
- Crisp rendering at any size
- Full styling control (color, size, transforms)
- Small file size
- No external font dependencies