Skip to main content

Loading Overlay

A loading overlay component with spinner and fade-in animation. Displays over content to indicate loading state.

Installation

$ npx shadcn@latest add @orecus/loading-overlay

Component

Interactive Example

Click the button to see the loading overlay in action.

Custom Text

The overlay can display custom loading text.

Saving changes...

Props

PropTypeDefaultDescription
loadingbooleanfalseWhether the loading overlay is visible
textstring"Loading..."Text to display below the spinner
classNamestringAdditional CSS classes