To divide into zones, you can use the Divider decoration.
use MoonShine\Decorations\Divider;
public function components(): array
{
return [
Divider::make(),
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make(),
//...
];
}

You can use text as a delimiter; to do this, you need to pass it to the make()
method.
use MoonShine\Decorations\Divider;
public function components(): array
{
return [
Divider::make('Divider'),
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Divider'),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Divider'),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Divider'),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Divider'),
//...
];
}

The centered()
method allows you to center the text.
use MoonShine\Decorations\Divider;
public function components(): array
{
return [
Divider::make('Divider')
->centered(),
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Divider')
->centered(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Divider')
->centered(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Divider')
->centered(),
//...
];
}
use MoonShine\Decorations\Divider;
//...
public function components(): array
{
return [
//...
Divider::make('Divider')
->centered(),
//...
];
}
