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/patternsimport { 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.
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| label | string | — | Optional message shown under the spinner (e.g. "Loading dashboard…"). |
| testID | string | — | Stable test/automation selector (emitted as `data-testid`). |
| variant | "page" | "section" | null | — |