Loading placeholders ("skeletons") that mimic the shape of content while it
loads. Use bs_placeholder() for an individual placeholder and wrap one or
more in bs_placeholder_glow() or bs_placeholder_wave() to animate them.
Usage
bs_placeholder(..., width = NULL, color = NULL, size = NULL, class = NULL)
bs_placeholder_glow(..., class = NULL)
bs_placeholder_wave(..., class = NULL)Arguments
- ...
Additional named HTML attributes (and, for the wrappers, child content) applied to the element.
- width
Column count (integer 1-12) controlling the placeholder width via the grid (
.col-*).- color
Background theme colour (
.bg-*), one of the Bootstrap theme colours.- size
Placeholder size, one of
"lg","sm"or"xs";NULLfor the default size.- class
Extra classes.