Box
You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.
-
Sections
# Basics
To highlight content, you can use the moonshine::box component
<x-moonshine::box> {{ fake()->text() }}</x-moonshine::box>
Quia placeat quia sed et minima. Fugit id provident necessitatibus est aut libero. Voluptatem consequatur ad beatae itaque omnis.
# Title
The title parameter sets the title of the block
<x-moonshine::box title="Title box"> {{ fake()->text() }}</x-moonshine::box>
Title box
Placeat ratione deleniti optio excepturi exercitationem. Nobis corporis tempora recusandae ipsam et.# Dark style
You can set a dark style for a block by specifying the dark parameter with the value TRUE
<x-moonshine::box :dark="true"> {{ fake()->text() }}</x-moonshine::box>
Similique cupiditate soluta ut sed. Illum autem ut sapiente repellat architecto alias maiores quia. Ipsa perferendis qui et omnis. Architecto temporibus molestias minus ut minima ducimus.