Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

Stars 1,023
Forks 115
Open issues 54
PowerShell Gallery downloads 7,576,901
Release v1.45.0
Language: PowerShell Updated: 2026-11-03
Command

New-NavFloatWidgetItem

Module
PSWriteHTML

Creates a new navigation float item with specified parameters.

Syntax

New-NavFloatWidgetItem
[-Href <String>]
[-IconColor <String>]
[-IconSolid <String>]
[-InternalPageID <String>]
[-LinkHome]
-Name <String>
[<CommonParameters>]
#
Parameter set: FontAwesomeSolid
New-NavFloatWidgetItem
[-Bordered]
[-BorderedCircle]
[-FlipHorizontal]
[-FlipVertical]
[-Href <String>]
[-IconColor <String>]
[-IconMaterial <String>]
[-InternalPageID <String>]
[-LinkHome]
-Name <String>
[-PullLeft]
[-PullRight]
[-Rotate <90|180|270>]
[-Spinning]
[-SpinningReverse]
[<CommonParameters>]
#
Parameter set: FontMaterial
New-NavFloatWidgetItem
[-Href <String>]
[-IconColor <String>]
[-IconRegular <String>]
[-InternalPageID <String>]
[-LinkHome]
-Name <String>
[<CommonParameters>]
#
Parameter set: FontAwesomeRegular
New-NavFloatWidgetItem
[-Href <String>]
[-IconBrands <String>]
[-IconColor <String>]
[-InternalPageID <String>]
[-LinkHome]
-Name <String>
[<CommonParameters>]
#
Parameter set: FontAwesomeBrands

Description

This function creates a new navigation float item with the provided parameters. It allows customization of the item's name, link, icon, color, and other properties.

Examples

Example 1

New-NavFloatWidgetItem -Name "Home" -Href "https://www.example.com" -IconBrands "fab fa-home" -IconColor "blue"

Creates a new navigation float item named "Home" that links to "https://www.example.com" with a blue home icon.

Example 2

New-NavFloatWidgetItem -Name "About" -InternalPageID "about" -LinkHome

Creates a new navigation float item named "About" that links to the internal page with ID "about" and links to the home page.

Parameters

-Href String optional
Specifies the URL link for the navigation float item.
-IconColor String optional
Specifies the color of the icon for the navigation float item.
-IconSolid String optionalsets: FontAwesomeSolid
ICON SOLID
-InternalPageID String optional
Specifies the internal page ID for the navigation float item.
-LinkHome SwitchParameter optional
Indicates whether the navigation float item should link to the home page.
-Name String required
Specifies the name of the navigation float item.
-Bordered SwitchParameter optionalsets: FontMaterial
-BorderedCircle SwitchParameter optionalsets: FontMaterial
-FlipHorizontal SwitchParameter optionalsets: FontMaterial
-FlipVertical SwitchParameter optionalsets: FontMaterial
-IconMaterial String optionalsets: FontMaterial
FontsMaterialIcon
-PullLeft SwitchParameter optionalsets: FontMaterial
-PullRight SwitchParameter optionalsets: FontMaterial
-Rotate String optionalsets: FontMaterial
Possible values: 90, 180, 270
-Spinning SwitchParameter optionalsets: FontMaterial
-SpinningReverse SwitchParameter optionalsets: FontMaterial
-IconRegular String optionalsets: FontAwesomeRegular
Specifies the regular icon for the navigation float item. Valid values are: $($Global:HTMLIcons.FontAwesomeRegular.Keys).
-IconBrands String optionalsets: FontAwesomeBrands
Specifies the icon brand for the navigation float item. Valid values are: $($Global:HTMLIcons.FontAwesomeBrands.Keys).

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.