material_depth {shinymaterial} | R Documentation |
Add depth to a UI element
Description
Give a UI element the perception of depth by creating a shadow.
Usage
material_depth(..., depth = 4)
Arguments
... |
The UI elements to apply the depth. |
depth |
Integer. The amount of depth. The value should be between 0 and 5. A value of 0 can be used to remove depth from objects that have depth by default. |
Examples
material_depth(
depth = 5,
material_card(title = "Example Depth")
)
[Package shinymaterial version 1.2.0 Index]