Files

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

# Basics

To display a list of files, you can use the moonshine::files component.

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

# No download

To disable the ability to download files, the component must pass the download parameter with the value FALSE.

<x-moonshine::files
:files="[
'/images/thumb_1.jpg',
'/images/thumb_2.jpg',
'/images/thumb_3.jpg'
]"
:download="false"
/>