skeleton screen
A grey outline of the content that is about to load, shaped like the real layout, shown instead of a spinner.
In more detail
Skeletons make loading feel faster and stop the page jumping when data arrives. They should roughly match the size of the content they stand in for.
Example
They are a common Suspense fallback.Related terms
- loading.tsx — A special file whose component Next.js shows instantly while a route segment's page is loading, by wrapping the page in Suspense.
- spinner — A rotating icon that tells the user something is loading, without showing what.
- Cumulative Layout Shift — A Core Web Vitals score measuring how much visible content unexpectedly jumps while a page loads.
- fallback UI — The placeholder content React shows instead of part of the tree, either while it loads (Suspense) or after it crashes (error boundary).
- Suspense — A React component that shows a fallback, such as a spinner or skeleton, while components inside it are waiting for something to load.
Taught in
- Root & Nested Layouts: State Preservation Semantics — Next.js 15 & Modern App Router Architecture
- Streaming SSR: Progressive HTML & Chunked Transfers — Next.js 15 & Modern App Router Architecture
- Loading UI: Instant Loading States with loading.tsx — Next.js 15 & Modern App Router Architecture
- Granular Suspense: Resolving Waterfall Bottlenecks — Next.js 15 & Modern App Router Architecture
- The use() Hook: Reading Promises And Context Directly — React 19 & Modern Component Architecture
- Suspense Architecture: Promises, Fallbacks, And Co-ordination — React 19 & Modern Component Architecture
- Client-Side Data Fetching Architectures with Suspense — React 19 & Modern Component Architecture