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

New-UDContainer

Synopsis

Containers pad the left and right side of the contained content to center it on larger resolution screens.

Syntax

New-UDContainer [-Id <String>] [-Children] <ScriptBlock> [-ClassName <String>] [<CommonParameters>]

Description

Creates a Material UI container. Containers pad the left and right side of the contained content to center it on larger resolution screens.

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

-Children

The child items to include within the container.

-ClassName

A CSS class to apply to the container.

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 Container

Creates a basic container with a typography component inside of it.

Last updated

Was this helpful?