# New-NavFloatWidget

Creates a new navigation float widget with customizable options for different types of widgets.

Project

PSWriteHTML

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

[View on GitHub](https://github.com/EvotecIT/PSWriteHTML) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteHTML/releases/tag/v1.41.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteHTML/1.40.0)

Stars **1,025**

Forks **114**

Open issues 

PowerShell Gallery downloads **7,576,901**

Release **v1.45.0**

Language: PowerShell Updated: 2026-11-19

Command 

**Module**

`PSWriteHTML`

Creates a new navigation float widget with customizable options for different types of widgets.

## Syntax

```
New-NavFloatWidget
[[-Items] <ScriptBlock>]
[[-Title] <String>]
[[-Type] <Dots|SelectBox|List|Toggle|Text>]
[<CommonParameters>]
```

[#](#method-new-navfloatwidget-scriptblock-string-string)

Parameter set: `All Parameter Sets`

## Description

The New-NavFloatWidget function creates a new navigation float widget with various customizable options such as Dots, SelectBox, List, Toggle, and Text. Each type of widget has specific styling and functionality.

## Examples

### Example 1

```powershell
New-NavFloatWidget -Items { New-NavFloatWidgetItem -Name "Home" -Href "/home" -IconBrands "fab fa-home" -IconColor "blue" } -Type "Dots"
Creates a new navigation float widget with Dots type, displaying a single item named "Home" with a home icon in blue color.
```

### Example 2

```powershell
New-NavFloatWidget -Items { New-NavFloatWidgetItem -Name "About" -Href "/about" -IconRegular "far fa-address-card" -IconColor "green" } -Type "List" -Title "About Us"
Creates a new navigation float widget with List type, displaying a single item named "About" with an address card icon in green color and a title "About Us".
```

### Example 3

```powershell
New-NavFloatWidget -Items { New-NavFloatWidgetItem -Name "Toggle 1" -Href "/toggle1" } -Type "Toggle" -Title "Toggle Items"
Creates a new navigation float widget with Toggle type, displaying a single item named "Toggle 1" linking to "/toggle1" and a title "Toggle Items".
```

## Parameters

**-Items ScriptBlock optionalposition: 0**

Specifies the script block defining the items to be included in the widget.

**-Title String optionalposition: 2**

Specifies the title of the widget.

**-Type String optionalposition: 1**

Specifies the type of the widget. Valid values are: Dots, SelectBox, List, Toggle, Text.

Possible values: `Dots`, `SelectBox`, `List`, `Toggle`, `Text`

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:7A0F2455669DFD15EFB49FB6260A9FCAADBAF0EAC0547B36217D67106DF5CF25 -->
