shinymaterial (version 0.5.1)

material_depth: 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

Run this code
# NOT RUN {
material_depth(
  depth = 5,
  material_card(title = "Example Depth")
)
# }

Run the code above in your browser using DataCamp Workspace