Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Image Designer
Kanban Board
PDF Viewer
Video Player
Visual Builder
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Buy License

Skeleton

Skeleton is a visual placeholder block for loading content when the final layout is already known. Use it to preserve layout while cards, lists, table rows, dashboard widgets, chart areas, avatars, text lines, or media blocks are loading.

Use it for:
  • Repeating the approximate shape and size of the UI that will replace it.
  • Sizing placeholders with TailwindCSS utilities such as h-*, w-*, and size-*.
  • Using roundedFull for circular placeholders such as avatars.

Do not use Skeleton for unknown long operations, global route loading, blocking a local section, empty results, image fallback after load failure, or status text. Use ProgressBar, PageLoadingBar, ScreenLoader, BlockLoader, EmptyState, or ImagePlaceholder when those match the state better.

The NgStarter Angular Skeleton component lets you show placeholder blocks for loading content when the final layout is already known. Use ngs-skeleton to preserve layout while cards, lists, table rows, dashboard widgets, chart areas, avatars, text lines, or media blocks are loading. It includes examples for Basic Skeleton.

Basic Skeleton

Use Skeleton blocks to approximate the loaded layout with TailwindCSS size and layout utilities.