Skeleton

Skeleton is a placeholder to display instead of the actual content.

import { SkeletonModule } from 'primeng/skeleton';

Various shapes and sizes can be created using styling properties like shape, width, height, borderRadius and class.

Rectangle
Rounded
Square
Circle

Sample Card implementation using different Skeleton components and Tailwind CSS utilities.

Sample List implementation using different Skeleton components and Tailwind CSS utilities.

Sample DataTable implementation using different Skeleton components and Tailwind CSS utilities.

CodeNameCategoryQuantity

Screen Reader

Skeleton uses aria-hidden as "true" so that it gets ignored by screen readers, any valid attribute is passed to the root element so you may customize it further if required. If multiple skeletons are grouped inside a container, you may use aria-busy on the container element as well to indicate the loading process.

Keyboard Support

Component does not include any interactive elements.

Theme Designer
Theme Designer is the ultimate tool to customize and design your own themes featuring a visual editor, Figma to theme code, cloud storage, and migration assistant.