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

New-UDDivider

Synopsis

A divider is a thin line that groups content in lists and layouts.

Syntax

New-UDDivider [[-Id] <String>] [-Absolute] [[-Children] <ScriptBlock>] [-FlexItem] [-Light] [[-Orientation] <String>] [[-Sx] <Hashtable>] [[-TextAlign] <String>] [[-Variant] <String>] [<CommonParameters>]

Description

A divider is a thin line that groups content in lists and layouts.

Parameters

-Id

ID of this component.

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

-Absolute

Absolutely position the element.

-Children

The content of the component.

-FlexItem

If true, a vertical divider will have the correct height when used in flex container. (By default, a vertical divider will have a calculated height of 0px if it is the child of a flex container.)

-Light

If true, the divider will have a lighter color.

-Orientation

The component orientation.

-Sx

Custom styling

-TextAlign

The text alignment.

-Variant

The variant to use.

Common parameters

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Outputs

Examples

Example 1: Basic Divider

Creates a basic divider.

Example 2: Variants

Creates a divider with the inset and middle variants.

Example 3: Vertical Divider

Creates a vertical divider.

Example 4: Light Divider

Creates a light divider.

Example 5: Divider with Text

Creates a divider with text.

Example 6: Algin Text

Creates a divider with text aligned to the left.

Last updated

Was this helpful?