Divider
You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.
-
Sections
# Basics
The moonshine::divider component allows you to create a stylized content divider
{{ fake()->text(100) }}<x-moonshine::divider /> {{ fake()->text(100) }}
Sed error nihil in ut. Animi non et beatae. Soluta sint qui hic dolorum quo corrupti.
Veritatis ducimus ut aut dicta. Iste ipsa sed dolorem ea maxime. Incidunt minus voluptas id at.
Veritatis ducimus ut aut dicta. Iste ipsa sed dolorem ea maxime. Incidunt minus voluptas id at.
# Text divider
You can use text as a separator, for this you need to specify the text in the label parameter
{{ fake()->text(100) }}<x-moonshine::divider label="Divider" /> {{ fake()->text(100) }}
Qui aut magni vero vel quidem. Laboriosam voluptatem harum sit dolore facilis aut quam.
Divider
Recusandae velit distinctio ut molestiae. Deleniti reprehenderit autem iste.
The centered parameter allows you to center the text
{{ fake()->text(100) }}<x-moonshine::divider label="Divider" :centered="true" /> {{ fake()->text(100) }}
Molestiae aut et id et aut. Ea modi ut ullam ut aut aspernatur.
Divider
Illo veniam fugit consectetur accusantium rerum et. Dignissimos ex illo adipisci et cupiditate.