API Reference
Command
New-HtmlXSmartWizard
Creates a SmartWizard container for step-by-step workflows.
Remarks
Part of the HtmlForgeX.PowerShell DSL.
Examples
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
- Scriptblock that emits wizard steps.
- Accent SmartWizardAccent
- Applies an accent palette. Possible values: Default, Blue, Green, Red, Purple, Sea
- Possible values:
Default,Blue,Green,Red,Purple,Sea - AccentColor TablerColor
- 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
- 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
- Controls automatic height adjustment.
- BackButtonSupport bool
- Controls back button support.
- InactiveColor TablerColor
- 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
- Controls whether steps are justified (equal width).
- KeyboardNavigation bool
- Enables keyboard navigation.
- NextText string
- Custom text for the Next button.
- PreviousText string
- Custom text for the Previous button.
- ProgressBar SwitchParameter
- Shows the thin progress bar beneath the navigation.
- ReportMode SwitchParameter
- Applies report-friendly defaults (disables URL hash, back button, keyboard nav, and auto height).
- Theme SmartWizardTheme
- 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
- Controls visibility of toolbar Next/Previous buttons.
- ToolbarPosition SmartWizardToolbarPosition
- Sets the toolbar position. Possible values: None, Top, Bottom, Both
- Possible values:
Top,Bottom,Both - UrlHash bool
- Controls URL hash synchronization.
- Vertical SwitchParameter
- Enables vertical layout.
Outputs
HtmlForgeX.SmartWizard