HtmlForgeX

API Reference

Class

TablerEmptyStateCard

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Rich dashboard-ready empty state card based on Tabler's empty-state patterns.

Inheritance

Constructors

Methods

public TablerEmptyStateCard Accent(TablerColor color) #
Returns: TablerEmptyStateCard

Sets the ambient accent color used by the card shell.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerEmptyStateCard Action(Element action) #
Returns: TablerEmptyStateCard

Adds a custom action element rendered inside the empty state action row.

Parameters

action HtmlForgeX.Element requiredposition: 0
public TablerEmptyStateCard ActionButton(String text, String href, Action<TablerButton> configure = null) #
Returns: TablerEmptyStateCard

Adds a convenience action button.

Parameters

text System.String requiredposition: 0
href System.String requiredposition: 1
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 2
GetAuxiliaryChildren() #
public TablerEmptyStateCard Header(String text) #
Returns: TablerEmptyStateCard

Sets the large empty-state header, for example a compact status code.

Parameters

text System.String requiredposition: 0
public TablerEmptyStateCard Illustration(Element illustration) #
Returns: TablerEmptyStateCard

Sets a custom illustration element.

Parameters

illustration HtmlForgeX.Element requiredposition: 0
public TablerEmptyStateCard IllustrationImage(String url, Int32 height = 220, String alt = null) #
Returns: TablerEmptyStateCard

Sets an image illustration with a fixed height.

Parameters

url System.String requiredposition: 0
height System.Int32 = 220 optionalposition: 1
alt System.String = null optionalposition: 2
RegisterLibraries() #
public TablerEmptyStateCard Settings(Action<TablerEmptyStateCardSettings> configure) #
Returns: TablerEmptyStateCard

Groups advanced display options under a smaller fluent surface.

Parameters

configure System.Action{HtmlForgeX.TablerEmptyStateCardSettings} requiredposition: 0
public TablerEmptyStateCard Subtitle(String text) #
Returns: TablerEmptyStateCard

Sets the supporting empty-state description.

Parameters

text System.String requiredposition: 0
public TablerEmptyStateCard Title(String text) #
Returns: TablerEmptyStateCard

Sets the main empty-state title.

Parameters

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