HtmlForgeX

API Reference

Class

TablerHeroCard

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Dashboard-focused hero card for welcome or summary areas with a built-in visual treatment.

Inheritance

Constructors

Methods

public TablerHeroCard Accent(TablerColor color) #
Returns: TablerHeroCard

Sets the accent color used by the visual treatment.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerHeroCard AddStat(String label, String value) #
Returns: TablerHeroCard

Adds a compact stat pill shown under the hero content.

Parameters

label System.String requiredposition: 0
value System.String requiredposition: 1
public TablerHeroCard Description(String description) #
Returns: TablerHeroCard

Sets the supporting body copy.

Parameters

description System.String requiredposition: 0
public TablerHeroCard Eyebrow(String eyebrow) #
Returns: TablerHeroCard

Sets the compact overline shown above the title.

Parameters

eyebrow System.String requiredposition: 0
RegisterLibraries() #
public TablerHeroCard Settings(Action<TablerHeroCardSettings> configure) #
Returns: TablerHeroCard

Groups advanced display options under a smaller fluent surface.

Parameters

configure System.Action{HtmlForgeX.TablerHeroCardSettings} requiredposition: 0
public TablerHeroCard Title(String title) #
Returns: TablerHeroCard

Sets the primary hero title.

Parameters

title System.String requiredposition: 0
public override String ToString() #
Returns: String