---
title: "gallery-17"
description: "Split slider: heading and description on one side, three small square slides per view running off the edge, arrows and dots below."
category: "Gallery"
---
# gallery-17
Split slider: heading and description on one side, three small square slides per view running off the edge, arrows and dots below.
## Installation
```bash
php artisan ui:add-block gallery-17
```
## Dependencies
- composer: `gehrisandro/tailwind-merge-laravel`
- component: [button](https://laralcn-ui.abdulkadersafi.com/ar/components/button.md) — the CLI installs it for you.
- component: [carousel](https://laralcn-ui.abdulkadersafi.com/ar/components/carousel.md) — the CLI installs it for you.
## Source
`resources/views/components/ui/blocks/gallery-17.blade.php`
```blade
{{--
Every piece of content is a prop. An image is ['src' => ..., 'alt' => ...];
leave src empty to show a placeholder.
Split layout: heading and description on the start side, three small
square slides per view on the end side running off the page edge (one on
mobile), the arrow pair and the dots below the slider.
--}}
@props([
'heading' => 'Image Gallery',
'description' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
'images' => [
['src' => null, 'alt' => 'Placeholder image 1'],
['src' => null, 'alt' => 'Placeholder image 2'],
['src' => null, 'alt' => 'Placeholder image 3'],
['src' => null, 'alt' => 'Placeholder image 4'],
['src' => null, 'alt' => 'Placeholder image 5'],
['src' => null, 'alt' => 'Placeholder image 6'],
['src' => null, 'alt' => 'Placeholder image 7'],
],
'previousLabel' => 'Previous slide',
'nextLabel' => 'Next slide',
'dotLabel' => 'Go to slide',
])
{{-- The slider column is a size container: slides are sized in cqw (its
width), while the carousel itself is pulled out to the page edge with a
negative end margin so the slides run off it. The controls row is held
back to the column width. --}}
merge(['class' => 'w-full overflow-hidden bg-background px-[5%] py-16 text-foreground md:py-24 lg:py-28']) }}>
{{ $heading }}
{{ $description }}
@foreach ($images as $image)
@if (!empty($image['src']))
@else
@endif
@endforeach
```