For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDIcon

FontAwesome 6 icons.

Synopsis

FontAwesome 6 icons.

Syntax

New-UDIcon [-Id <String>] [-Icon <String>] [-FixedWidth] [-Inverse] [-Rotation <Int32>] [-ClassName <String>] [-Transform <String>] [-Flip <String>] [-Pull <String>] [-ListItem] [-Spin] [-Border] [-Beat] [-Fade] [-Bounce] [-BeatFade] [-Shake] [-Size <String>] [-Style <Hashtable>] [-Title <String>] [-Color <DashboardColor>] [-Solid] [<CommonParameters>]

    New-UDIcon [-Id <String>] [-Children <ScriptBlock>] [-ClassName <String>] [-Style <Hashtable>] [<CommonParameters>]

Description

Creates a new icon.

Parameters

-Id

The ID of this component.

Required?                    false
Position?                    named
Default value                ([Guid]::NewGuid()).ToString()
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Icon

The Icon to display. This is a FontAwesome 6 icon name.

-Children

-Rotation

The amount of degrees to rotate the icon.

-ClassName

Custom CSS class names to apply to the icon.

-Transform

A CSS transform to apply to the icon.

-Flip

Whether to flip the icon.

-Pull

Whether to flip the icon.

-Size

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

-Style

A CSS style to apply to the icon.

-Title

-Color

The color of this icon.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?