Components

Loader

Basics

The Loader component allows you to create a styled loading indicator.

use MoonShine\UI\Components\Loader;
 
Loader::make()
<x-moonshine::loader />

Change view

If you do not like the basic loading indicator, then you can globally change its blade view through the ServiceProvider

Loader::changeView('my-custom-view-path');