Example
In the example below, we take a typical card component and recreate it with placeholders applied to create a “loading card”.
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereColor
By default, the placeholder
uses currentColor
. This can be overriden with a custom color or utility class.
Sizing
The size of .placeholder
s are based on the typographic style of the parent element. Customize them with sizing modifiers: .placeholder-lg
, .placeholder-sm
, or .placeholder-xs
.
Animation
Animate placehodlers with .placeholder-glow
or .placeholder-wave
to better convey the perception of something being actively loaded.