UI components

Box

Basics

To highlight content, you can use the moonshine::box component.

<x-moonshine::box>
{{ fake()->text() }}
</x-moonshine::box>

Heading

The title parameter sets the block title.

<x-moonshine::box title="Title box">
{{ fake()->text() }}
</x-moonshine::box>

Dark Style

You can set a dark style for a block by specifying the dark parameter with a value of TRUE.

<x-moonshine::box :dark="true">
{{ fake()->text() }}
</x-moonshine::box>
```