Flux Lightbox #2281
Replies: 1 comment
-
Flux LightboxA lightweight, Alpine-powered lightbox built for Flux UI components. It supports:
This component set consists of:
Basic UsageRender a lightbox with an array of media items (images or videos): <flux:lightbox :items="[
['src' => asset('images/one.jpg'), 'caption' => 'First'],
['src' => asset('images/two.jpg'), 'caption' => 'Second'],
]" show-counter />The example above will:
You can also render your own thumbnails by using the default slot: <flux:lightbox show-counter>
<flux:lightbox.image src="{{ asset('images/one.jpg') }}" caption="First" />
<flux:lightbox.image src="{{ asset('images/two.jpg') }}" caption="Second" />
</flux:lightbox>Thumbnails register themselves with the nearest Props
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Below is my Lightbox for Flux UI.
Screenshots

Full README.md posted underneath.
resources\views\flux\lightbox\lightbox.blade.php
resources/views/flux/lightbox/image.blade.php
resources/views/flux/lightbox/video.blade.php
Beta Was this translation helpful? Give feedback.
All reactions