HtmlForgeX

API Reference

Class

TablerIconLabel

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Renders an inline icon + text label using Tabler styling.

Inheritance

Constructors

Methods

public TablerIconLabel Gap(TablerSpacing spacing) #
Returns: TablerIconLabel

Sets the gap between icon and text.

Parameters

spacing HtmlForgeX.TablerSpacing requiredposition: 0
IconColor 2 overloads
public TablerIconLabel IconColor(RGBColor color) #
Returns: TablerIconLabel

Sets the icon color using a Tabler color.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
IconColor(HtmlForgeX.RGBColor color) #

Sets the icon color using a custom RGB value.

Parameters

color HtmlForgeX.RGBColor required
public TablerIconLabel IconSize(Int32 size) #
Returns: TablerIconLabel

Sets the icon size in pixels.

Parameters

size System.Int32 requiredposition: 0
RegisterLibraries() #
TextColor 2 overloads
public TablerIconLabel TextColor(RGBColor color) #
Returns: TablerIconLabel

Sets the text color using a Tabler color.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
TextColor(HtmlForgeX.RGBColor color) #

Sets the text color using a custom RGB value.

Parameters

color HtmlForgeX.RGBColor required
public TablerIconLabel TextStyle(TablerTextStyle style) #
Returns: TablerIconLabel

Sets the text style (e.g., Muted).

Parameters

style HtmlForgeX.TablerTextStyle requiredposition: 0
public TablerIconLabel TextWeight(TablerFontWeight weight) #
Returns: TablerIconLabel

Sets the text font weight.

Parameters

weight HtmlForgeX.TablerFontWeight requiredposition: 0
public override String ToString() #
Returns: String

Renders the icon label.