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

New-UDToggleButton

A Toggle Button can be used to group related options.

Synopsis

A Toggle Button can be used to group related options.

Syntax

New-UDToggleButton [[-Id] <String>] [[-Color] <String>] [-Disabled] [-FullWidth] [-DisableFocusRipple] [-DisableRipple] [[-Size] <String>] [[-Sx] <Hashtable>] [[-Children] <ScriptBlock>] [<CommonParameters>]

Description

A Toggle Button can be used to group related options.

Parameters

-Id

The ID of the component. If not specified, a random GUID will be assigned.

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

-Color

The color of the component. Valid values are 'standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning'.

-Size

The size of the component. Valid values are 'small', 'medium', 'large'.

-Sx

The style of the component.

-Children

The content of the component.

Last updated

Was this helpful?