php artisan aura:add attachment-group
Copies the component source into resources/views/components/aura/. Run php artisan aura:init first if you haven't already. See the CLI guide for all options.
composer require bluestarsystem/aura-ui
php artisan aura:install
Full installation instructions in the Installation guide.
Pro Component — This component requires an Aura UI Pro license.
Overview
<x-aura::attachment-group> wraps attachment items.
Basic Usage
<x-aura::attachment-group :columns="2">
<x-aura::attachment name="report.pdf" size="2.4 MB" href="/files/report.pdf" />
</x-aura::attachment-group>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label |
string|null |
null |
Defaults to the translated "Attachments". |
columns |
int |
1 |
1, 2 or 3. Written out rather than interpolated. |
Accessibility
- A real list, so the number of files is announced before they are read.