Paper
Paper component for Universal Dashboard
In Material Design, the physical properties of paper are translated to the screen.
The background of an application resembles the flat, opaque texture of a sheet of paper, and an application’s behavior mimics paper’s ability to be re-sized, shuffled, and bound together in multiple sheets.

Paper

1
New-UDPaper -Elevation 0 -Content {}
2
New-UDPaper -Elevation 1 -Content {}
3
New-UDPaper -Elevation 3 -Content {}
Copied!

Square Paper

By default, paper will have rounded edges. You can reduce the rounding by using a square paper.
1
New-UDPaper -Square -Content {}
Copied!

Colored Paper

The -Style parameter can be used to color paper. Any valid CSS can be included in the hashtable for a style.
The following example creates paper with a red background.
1
New-UDPaper -Content { } -Style @{
2
backgroundColor = 'red'
3
}
Copied!

API

Last modified 3mo ago