Thumbnail

You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

# Basics

To create thumbnails, you can use the moonshine::thumbnails component

<x-moonshine::thumbnails value="/images/thumb_1.jpg"/>

You can also specify the attribute alt

<x-moonshine::thumbnails value="/images/thumb_1.jpg" alt="Description"/>

# Group of images

Component can be passed an array of images

<x-moonshine::thumbnails :values="[
'/images/thumb_1.jpg',
'/images/thumb_2.jpg',
'/images/thumb_3.jpg'
]"/>