Components

Div

The Div component simply displays a div tag with the ability to specify nested components and add attributes.

make(iterable $components)
use MoonShine\UI\Components\Layout\Div;
 
Div::make([])
<x-moonshine::layout.div></x-moonshine::layout.div>