Use loading placeholders for your components or pages to indicate something may still be loading., check out documentation.
In the example below, we take a typical card component and recreate it with placeholders applied to create a “loading card”. Size and proportions are the same between the two.
Some quick example text to build on the card title and make up the bulk of the card's content.
By default, the Placeholder
uses currentColor
. This can be overridden with a custom color or utility class.
The size of Placeholders
are based on the typographic style of the parent element. Customize them with sizing props: lg, sm,
or xs
.
Animate placeholders
by setting the prop animation to glow
or wave
to better convey the perception of something being actively loaded.