Evotec

Project

PSWriteHTML

PSWriteHTML is an open-source PowerShell project with packages, release history, and working documentation.

Stars 995
Forks 114
Open issues 69
PowerShell Gallery downloads 7,436,513
Release v1.41.0
Language: PowerShell Updated: 2026-04-11

API Reference

Function

New-NavFloatWidgetItem

Namespace PSWriteHTML

Creates a new navigation float item with specified parameters.

Remarks

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

Authored help example

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.

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-NavFloatWidgetItem [-Href <String>] [-IconColor <String>] [-IconSolid <String>] [-InternalPageID <String>] [-LinkHome] -Name <String> [<CommonParameters>]
#
Parameter set: FontAwesomeSolid

Parameters

Href String optionalposition: namedpipeline: False
Specifies the URL link for the navigation float item.
IconColor String optionalposition: namedpipeline: False
Specifies the color of the icon for the navigation float item.
IconSolid String optionalposition: namedpipeline: False
ICON SOLID
InternalPageID String optionalposition: namedpipeline: False
Specifies the internal page ID for the navigation float item.
LinkHome SwitchParameter optionalposition: namedpipeline: False
Indicates whether the navigation float item should link to the home page.
Name String requiredposition: namedpipeline: False
Specifies the name of the navigation float item.
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

Parameters

Bordered SwitchParameter optionalposition: namedpipeline: False
BorderedCircle SwitchParameter optionalposition: namedpipeline: False
FlipHorizontal SwitchParameter optionalposition: namedpipeline: False
FlipVertical SwitchParameter optionalposition: namedpipeline: False
Href String optionalposition: namedpipeline: False
Specifies the URL link for the navigation float item.
IconColor String optionalposition: namedpipeline: False
Specifies the color of the icon for the navigation float item.
IconMaterial String optionalposition: namedpipeline: False
FontsMaterialIcon
InternalPageID String optionalposition: namedpipeline: False
Specifies the internal page ID for the navigation float item.
LinkHome SwitchParameter optionalposition: namedpipeline: False
Indicates whether the navigation float item should link to the home page.
Name String requiredposition: namedpipeline: False
Specifies the name of the navigation float item.
PullLeft SwitchParameter optionalposition: namedpipeline: False
PullRight SwitchParameter optionalposition: namedpipeline: False
Rotate String optionalposition: namedpipeline: Falsevalues: 3
Possible values: 90, 180, 270
Spinning SwitchParameter optionalposition: namedpipeline: False
SpinningReverse SwitchParameter optionalposition: namedpipeline: False
New-NavFloatWidgetItem [-Href <String>] [-IconColor <String>] [-IconRegular <String>] [-InternalPageID <String>] [-LinkHome] -Name <String> [<CommonParameters>]
#
Parameter set: FontAwesomeRegular

Parameters

Href String optionalposition: namedpipeline: False
Specifies the URL link for the navigation float item.
IconColor String optionalposition: namedpipeline: False
Specifies the color of the icon for the navigation float item.
IconRegular String optionalposition: namedpipeline: False
Specifies the regular icon for the navigation float item. Valid values are: $($Global:HTMLIcons.FontAwesomeRegular.Keys).
InternalPageID String optionalposition: namedpipeline: False
Specifies the internal page ID for the navigation float item.
LinkHome SwitchParameter optionalposition: namedpipeline: False
Indicates whether the navigation float item should link to the home page.
Name String requiredposition: namedpipeline: False
Specifies the name of the navigation float item.
New-NavFloatWidgetItem [-Href <String>] [-IconBrands <String>] [-IconColor <String>] [-InternalPageID <String>] [-LinkHome] -Name <String> [<CommonParameters>]
#
Parameter set: FontAwesomeBrands

Parameters

Href String optionalposition: namedpipeline: False
Specifies the URL link for the navigation float item.
IconBrands String optionalposition: namedpipeline: False
Specifies the icon brand for the navigation float item. Valid values are: $($Global:HTMLIcons.FontAwesomeBrands.Keys).
IconColor String optionalposition: namedpipeline: False
Specifies the color of the icon for the navigation float item.
InternalPageID String optionalposition: namedpipeline: False
Specifies the internal page ID for the navigation float item.
LinkHome SwitchParameter optionalposition: namedpipeline: False
Indicates whether the navigation float item should link to the home page.
Name String requiredposition: namedpipeline: False
Specifies the name of the navigation float item.