HtmlForgeX

API Reference

Command

New-HtmlXSmartWizard

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.SmartWizard

Creates a SmartWizard container for step-by-step workflows.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Authored help example

Example 1: Create a wizard with two steps.


New-HtmlXSmartWizard -Theme Basic {
    New-HtmlXSmartWizardStep -Title "Step 1" {
        New-HtmlXText -Text "Collect data"
    }
    New-HtmlXSmartWizardStep -Title "Step 2"
}
        

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-HtmlXSmartWizard [-Content <ScriptBlock>] [-Accent <Default>] [-AccentColor <Blue>] [-ActiveColor <Blue>] [-AutoAdjustHeight <bool>] [-BackButtonSupport <bool>] [-InactiveColor <Blue>] [-Justified <bool>] [-KeyboardNavigation <bool>] [-NextText <string>] [-PreviousText <string>] [-ProgressBar] [-ReportMode] [-Theme <Basic>] [-ToolbarButtons <bool>] [-ToolbarPosition <Top|Bottom|Both>] [-UrlHash <bool>] [-Vertical] [<CommonParameters>]
#

Parameters

Content ScriptBlock optionalposition: 0pipeline: false
Scriptblock that emits wizard steps.
Accent SmartWizardAccent optionalposition: namedpipeline: falsevalues: 6
Applies an accent palette. Possible values: Default, Blue, Green, Red, Purple, Sea
Possible values: Default, Blue, Green, Red, Purple, Sea
AccentColor TablerColor optionalposition: namedpipeline: falsevalues: 62
Applies a Tabler accent color. Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
ActiveColor TablerColor optionalposition: namedpipeline: falsevalues: 62
Applies a Tabler active step color. Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
AutoAdjustHeight bool optionalposition: namedpipeline: false
Controls automatic height adjustment.
BackButtonSupport bool optionalposition: namedpipeline: false
Controls back button support.
InactiveColor TablerColor optionalposition: namedpipeline: falsevalues: 62
Applies a Tabler inactive step color. Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Justified bool optionalposition: namedpipeline: false
Controls whether steps are justified (equal width).
KeyboardNavigation bool optionalposition: namedpipeline: false
Enables keyboard navigation.
NextText string optionalposition: namedpipeline: false
Custom text for the Next button.
PreviousText string optionalposition: namedpipeline: false
Custom text for the Previous button.
ProgressBar SwitchParameter optionalposition: namedpipeline: false
Shows the thin progress bar beneath the navigation.
ReportMode SwitchParameter optionalposition: namedpipeline: false
Applies report-friendly defaults (disables URL hash, back button, keyboard nav, and auto height).
Theme SmartWizardTheme optionalposition: namedpipeline: falsevalues: 11
Applies a built-in SmartWizard theme. Possible values: Basic, Arrows, Square, Round, Dots, Progress, Material, Dark, Tabs, Chips, DataGrid
Possible values: Basic, Arrows, Square, Round, Dots, Progress, Material, Dark, Tabs, Chips, DataGrid
ToolbarButtons bool optionalposition: namedpipeline: false
Controls visibility of toolbar Next/Previous buttons.
ToolbarPosition SmartWizardToolbarPosition optionalposition: namedpipeline: falsevalues: 3
Sets the toolbar position. Possible values: None, Top, Bottom, Both
Possible values: Top, Bottom, Both
UrlHash bool optionalposition: namedpipeline: false
Controls URL hash synchronization.
Vertical SwitchParameter optionalposition: namedpipeline: false
Enables vertical layout.

Outputs

HtmlForgeX.SmartWizard