---
title: "gallery-10"
description: "Full-bleed image slider under a centred heading, with round arrows over the image edges and dots at the bottom."
category: "Gallery"
---
# gallery-10
Full-bleed image slider under a centred heading, with round arrows over the image edges and dots at the bottom.
## Installation
```bash
php artisan ui:add-block gallery-10
```
## Dependencies
- composer: `gehrisandro/tailwind-merge-laravel`
- component: [button](https://laralcn-ui.abdulkadersafi.com/components/button.md) — the CLI installs it for you.
- component: [carousel](https://laralcn-ui.abdulkadersafi.com/components/carousel.md) — the CLI installs it for you.
## Source
`resources/views/components/ui/blocks/gallery-10.blade.php`
```blade
{{--
Every piece of content is a prop. An image is ['src' => ..., 'alt' => ...];
leave src empty to show a placeholder.
A full-bleed slider under a centred header: one image per view, round
arrows over the image edges from md up, and dots at the bottom.
--}}
@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'],
],
'previousLabel' => 'Previous slide',
'nextLabel' => 'Next slide',
'dotLabel' => 'Go to slide',
])
merge(['class' => 'w-full bg-background text-foreground']) }}>
{{ $heading }}
{{ $description }}
@foreach ($images as $image)
@if (!empty($image['src']))
@else