HtmlForgeX

API Reference

Command

New-HtmlXCardHeader

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerCardHeader

Adds a header section to the current Tabler card.

Remarks

Use inside New-HtmlXCard { }.

Examples

Imported script example

New-HtmlXCardHeader -Title "Health Check" -Subtitle "Last 24h"
        

New-HtmlXCardHeader -Title "Summary" -Subtitle "Today"
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HtmlXCardHeader [-Content <ScriptBlock>] [-Style <Default|Light|Dark|Transparent|Borderless>] [-Subtitle <string>] [-SubtitleStyle <Muted|Truncate|Monospace|Primary|Success>] [-Title <string>] [<CommonParameters>]
#

Parameters

Content ScriptBlock optionalposition: 0pipeline: false
Scriptblock that emits header content.
Style TablerCardHeaderStyle optionalposition: namedpipeline: falsevalues: 5
Header style preset. Possible values: Default, Light, Dark, Transparent, Borderless
Possible values: Default, Light, Dark, Transparent, Borderless
Subtitle string optionalposition: namedpipeline: false
Header subtitle text.
SubtitleStyle TablerTextStyle optionalposition: namedpipeline: falsevalues: 5
Subtitle text style. Possible values: Muted, Truncate, Monospace, Primary, Success
Possible values: Muted, Truncate, Monospace, Primary, Success
Title string optionalposition: namedpipeline: false
Header title text.

Outputs

HtmlForgeX.TablerCardHeader