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

New-UDTypography

Typography allows you to configure and display text.

Synopsis

Typography allows you to configure and display text.

Syntax

New-UDTypography [-Id <String>] [-Variant <String>] [[-Text] <String>] [-Style <Hashtable>] [-ClassName <String>] [-Align <String>] [-GutterBottom] [-NoWrap] [-Truncate] [-FontWeight <String>] [-Sx <Hashtable>] [<CommonParameters>]

    New-UDTypography [-Id <String>] [-Variant <String>] [-Content <ScriptBlock>] [-Style <Hashtable>] [-ClassName <String>] [-Align <String>] [-GutterBottom] [-NoWrap] [-Truncate] [-FontWeight <String>] [-Sx <Hashtable>] [<CommonParameters>]

Description

Creates typography. Typography allows you to configure text within a dashboard.

Parameters

-Id

The ID of the component. It defaults to a random GUID.

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

-Variant

The type of text to display.

-Text

The text to format.

-Content

The content to format.

-Style

A set of CSS styles to apply to the typography.

-ClassName

A CSS className to apply to the typography.

-Align

How to align the typography.

-FontWeight

-Sx

Theme-based styling hashtable.

Outputs

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

Last updated

Was this helpful?