Icon

Icon component for Universal Dashboard

FontAwesome icons to include in your dashboard. Icon names are slightly different than those shown on the FontAwesome website. For example, if you want to use the network-wired icon, you would use the following string.

New-UDIcon -Icon 'NetworkWired'

Finding an Icon

We include FontAwesome v6 with PowerShell Universal. You can use Find-UDIcon to search through the list of included icons.

Find-UDIcon User

Icon

Create icons by specifying their names. You can use the icon reference below to find icons.

New-UDIcon -Icon 'AddressBook'

Size

Set the size of the icon. Valid values are: xs, sm, lg, 2x, 3x, 4x, 5x, 6x, 7x, 8x, 9x, 10x

Rotation

Rotate icons. The value represents the degrees of rotation.

Border

Add a border to your icon.

Style

Apply CSS styles to your icon.

Visually Search for Icons

Complete Icon List

Custom Icons

You can use custom icon sets available on the PowerShell Universal Modules page. First, install the module and then use the icon with other components.

Within your dashboard, call the icon cmdlet.

API

New-UDIcon

Last updated