Heading

You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

You can add headers to separate areas of the form

use MoonShine\Decorations\Heading;
 
//...
public function fields(): array
{
return [
Heading::make('Title/Slug'),
 
Text::make('Title')
->fieldContainer(false),
Text::make('Slug')
->fieldContainer(false),
];
}
//...