Components

Html

The Html component serves as the foundation for building an html page in MoonShine.
The component is a wrapper for the <html> tag and already includes <!DOCTYPE html>.

use MoonShine\UI\Components\Layout\Html;
 
Html::make(array|iterable $components = []);
Html::make([
Head::make(),
Body::make([
//...
])
]);
<x-moonshine::layout.html>
<x-moonshine::layout.head />
<x-moonshine::layout.body>
//...
</x-moonshine::layout.body>
</x-moonshine::layout.html>

Child components: Head, Body