Loading Overlay
FeedbackFull-area blocking spinner overlay for async views — drop-in for any container.
Loading OverlayFeedback · Web
Loading Storybook preview…
Installation
bun add @otfdashkit/ui
Usage
Import Loading Overlay from @otfdashkit/ui.
Code
// Loading Overlay — Full-area blocking spinner overlay for async views — drop-in for any container.
//
// Install:
// bun add @otfdashkit/ui
import { LoadingOverlay } from '@otfdashkit/ui'
export function Example() {
return (
<LoadingOverlay>
{/* your content */}
</LoadingOverlay>
)
}Props
Props declared in the LoadingOverlay source. Inherited HTML attributes are not listed.
| Prop | Type | Default | Description |
|---|---|---|---|
| loadingrequired | boolean | ||
| children | ReactNode | ||
| className | string | ||
| fullPage | boolean | ||
| text | string |