Loading component – displays a centered spinner used as a global loading state.
The layout fills the viewport height and centers a spinning indicator both
vertically and horizontally. It supports light and dark themes through Tailwind classes.
Intended usage:
- As a Suspense fallback for lazy-loaded routes or components
- As a temporary placeholder while async data is being fetched
- Description:
- Loading component – displays a centered spinner used as a global loading state. The layout fills the viewport height and centers a spinning indicator both vertically and horizontally. It supports light and dark themes through Tailwind classes. Intended usage: - As a Suspense fallback for lazy-loaded routes or components - As a temporary placeholder while async data is being fetched
- Source:
Returns:
A full-screen loading spinner view
- Type
- JSX.Element