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>
Est qui eveniet et nulla necessitatibus id occaecati vero. Architecto ea saepe minima et deleniti. Ipsam necessitatibus cum nulla mollitia accusamus dolorem veritatis quia.
# Title
The title parameter sets the title of the block
<x-moonshine::box title="Title box"> {{ fake()->text() }}</x-moonshine::box>
Title box
Voluptatem tenetur dolor rerum nesciunt veniam. Culpa exercitationem quibusdam ea explicabo nemo sequi quo ad. Id consequatur possimus qui dolore. Fuga ipsam suscipit numquam eius unde voluptas qui.# 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>
Enim voluptas expedita culpa odio. Maiores sint sint ut nihil sapiente aliquam. Voluptas alias distinctio voluptas est ut.