Feedback
Page Loader
A full-viewport centered loading screen with a spinner and optional title/subtitle.
A full-viewport, centered loading screen: a large spinner with an optional title and subtitle stacked beneath it. Use it as the fallback while a route, layout, or data-heavy page is loading. It fills at least the full dynamic viewport height, so the previews below are boxed to a fixed height for illustration.
Import
import { PageLoader } from "@yuhuanowo/yunui";
Basic
Spinner only
Loading...
With title & subtitle
With messages
Loading...
Loading workspace
This only takes a moment.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| subtitle | string | — | Secondary, lighter message under the title. |
| title | string | — | Primary loading message shown under the spinner. |