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>
Dolorum vel fuga dignissimos consequatur sed. Deserunt molestiae numquam sed. Suscipit blanditiis accusantium sequi explicabo nemo.
# Title
The title parameter sets the title of the block
<x-moonshine::box title="Title box"> {{ fake()->text() }}</x-moonshine::box>
Title box
Vitae numquam ut et non. Dicta ut debitis dicta eum. Quia qui placeat odit quasi necessitatibus. Sunt sint illum eum pariatur iusto beatae vel quia. Qui aut recusandae dolorem laboriosam expedita.# 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>
Magni dignissimos quibusdam sit architecto possimus laboriosam tempora ut. Rem impedit eaque ab corporis consequuntur recusandae facilis.