Slider

The Slider component provides a reusable pattern for slider in the interface.

Using the slider item component

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Read more

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Read more

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Single slide

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Repeat slide

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Button styling

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Base Layout

Here I could put some lorem ipsum text but I am too lazy to Google for one so I wrote all this instead. Woo!

Slider with Cards

Slider with Segment

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

API

Parameter Default Type Description
true integer|boolean|null -
false boolean -
true boolean -
16:9 string -
true boolean -
slide string -
false boolean -
true boolean -
false string|boolean -
[] array -
0 integer -
2 integer -

Subcomponents

Child components for slider, including purpose and supported Blade parameters.

Slider Item

Blade directive: @slider__item()

-

Parameter Default Type Purpose
string|boolean -
string|boolean -
[] array|boolean -
false ComponentLibrary\Integrations\Image\ImageInterface|string|boolean -
false string|boolean -
?string -
false string|boolean -
string -
bottom string -
base string -
string -
false string|boolean -
string -
none string -
Illuminate\Support\HtmlString|Illuminate\View\ComponentSlot|string|null -
false string|boolean -
[] array Additional CSS classes added to the wrapping element.
[] array Additional HTML attributes added to the wrapping element.

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--border-radius) range - Border Radius
var(--color--primary) color - Primary
var(--color--alpha) rgba - Used for overlays. Includes opacity — set both color and alpha together.
var(--font-family-heading) font - Falls back to body font if not set.
var(--font-family-base) font - Body Font
var(--font-size-100) range - Base font size.
var(--color--alpha-contrast) color - Used for text and icons on alpha overlays.
var(--shadow-color) rgba - Shadow Color
var(--shadow-amount) range - Multiplier for elevation shadows. 0 = none, 1 = default.