Appearance
Attachments Component
Component:
blade
<x-attachments />Purpose
Display previously uploaded files as a download list.
Common Inputs
titleidattachments
Attachment Item Shape
Each attachment item is expected to contain fields such as:
urltypethumbnailnamesize
Behavior
- shows an image preview when the MIME type starts with
image/ - falls back to a file icon for non-image files
- renders the file name and formatted file size