Placeholders

Placeholders

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.

...
Card Title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere

Color

By default, the placeholder uses currentColor . This can be overriden with a custom color or utility class.

Width

You can change the width through grid column classes, width utilities, or inline styles.

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 .

How it works

Create placeholders with the .placeholder class and a grid column class (e.g., .col-6 ) to set the width . They can replace the text inside an element or as be added as a modifier class to an existing component.

Animation

Animate placehodlers with .placeholder-glow or .placeholder-wave to better convey the perception of something being actively loaded.

© Paces By Coderthemes
10GB of 250GB Free.
Admin Customizer

Easily configure layout, styles, and preferences for your admin interface.

Select Theme
Default
Minimal
Modern
Material
SaaS
Flat
Galaxy
Luxe
Retro
Neon
Pixel
Soft
Mono
Prism
Nova
Zen
Elegant
Vivid
Matrix
Neo
Silver
Xenon
Color Scheme
Light
Dark
System
Topbar Color
Light
Dark
Gray
Gradient
Sidenav Color
Light
Dark
Gray
Gradient
Image
Sidebar Size
Default
Compact
Condensed
On Hover
On Hover - Show
Offcanvas
Layout Width
Fluid
Boxed
Layout Direction
LTR
RTL
Layout Position