UI components

Files

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'
]"/>

/images/thumb_1.jpg /images/thumb_2.jpg /images/thumb_3.jpg

No download

To disable the ability to download files, you need the component to 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"
/>

/images/thumb_1.jpg /images/thumb_2.jpg /images/thumb_3.jpg