PS >New-UDTypography -Text "Hello World" -Variant "h1" -Id "typography1"
Basic Typography|A basic typography component that displays a header.
-------------------------- EXAMPLE 2 --------------------------
PS >New-UDTypography -Text "Hello World" -Variant "h1" -Style @{color = "red"} -Id "typography2"
Typography with Style|A typography component that displays a header with a red color.
-------------------------- EXAMPLE 3 --------------------------
PS >New-UDTypography -Text "Hello World" -Id "typography3" -Align "center"
Alignment|A typography component that displays with a centered alignment.
-------------------------- EXAMPLE 4 --------------------------
PS >New-UDTypography -Text "Hello World" -Id "typography4" -GutterBottom
Gutter Bottom|A typography component that displays with a space below the text.
-------------------------- EXAMPLE 5 --------------------------
PS >New-UDTypography -Text "Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World! Hello World!" -Id "typography5" -NoWrap
No Wrap|A typography component that displays with no wrapping.
-------------------------- EXAMPLE 6 --------------------------
PS >New-UDTypography -Text "Hello World" -Id "typography6" -FontWeight "bold"
Font Weight|A typography component that displays with a bold font weight.
-------------------------- EXAMPLE 7 --------------------------
PS >New-UDTypography -Text "Hello World" -Id "typography11" -Sx @{color = "red"}
Sx|A typography component that displays with a red color using the theme sx property.
-------------------------- EXAMPLE 8 --------------------------
PS >New-UDTypography -Id "typography12" -Content {
PS > New-UDButton -Text "Click Me" -Id "button1"
PS > }
Content|A typography component that displays with a button inside of it.
-------------------------- EXAMPLE 9 --------------------------
PS >@("h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "caption", "button", "overline", "srOnly", "inherit", "display4", "display3", "display2", "display1", "headline", "title", "subheading") | ForEach-Object {
PS > New-UDTypography -Variant $_ -Text $_ -GutterBottom
PS > New-UDElement -Tag 'p' -Content {}
PS > }
Variants|A typography component that displays all of the variants.