powered by
Give a UI element the perception of depth by creating a shadow.
material_depth(..., depth = 4)
The UI elements to apply the 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.
# NOT RUN { material_depth( depth = 5, material_card(title = "Example Depth") ) # }
Run the code above in your browser using DataLab