Genesis
@beta

PageLoading

PageLoading — full-page or in-section loading state: a centered `Spinner` with an optional message. The loading-state counterpart to `EmptyState`. Reach for `Skeleton` instead when the placeholder should mimic the shape of the content that's arriving rather than a generic wait state.

packages/ui/src/components/patterns/page-loading.tsx

Import
Subpath export: @marktiderman/genesis-ui/patterns
import { PageLoading } from "@marktiderman/genesis-ui/patterns";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

PageLoading

PageLoading — full-page or in-section loading state: a centered `Spinner` with an optional message. The loading-state counterpart to `EmptyState`. Reach for `Skeleton` instead when the placeholder should mimic the shape of the content that's arriving rather than a generic wait state.

PropTypeDefaultDescription
classNamestring—
labelstring—Optional message shown under the spinner (e.g. "Loading dashboard…").
testIDstring—Stable test/automation selector (emitted as `data-testid`).
variant"page" | "section" | null—
Storybook
Storybook hosts the canonical visual reference with controls for every variant.