material_depth: Add depth to a UI element

Description Usage Arguments Examples

View source: R/shiny-material-depth.R

Description

Give a UI element the perception of depth by creating a shadow.

Usage

1

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

1
2
3
4
material_depth(
  depth = 5,
  material_card(title = "Example Depth")
)

ericrayanderson/shinymaterial documentation built on Oct. 9, 2020, 5:21 p.m.