Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Headless Editor
Image Designer
Kanban Board
PDF Builder
PDF Signer
PDF Viewer
Video Player
GitHub repositoryGitHub starsGitHub forksNgStarter UI npm versionNgStarter UI npm downloads per month

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.

Import Skeleton, SkeletonCircle, and SkeletonRectangle from @ngstarter-ui/components/skeleton. Use the selectors ngs-skeleton, ngs-skeleton-circle, and ngs-skeleton-rectangle. Set dimensions with TailwindCSS classes. Circle and rectangle variants have no inputs; roundedFull applies to ngs-skeleton only. Customize rectangular corners with --ngs-skeleton-item-border-radius.

PropTypeDefault
roundedFull
Whether the skeleton should have fully rounded corners
booleanfalse