Data displayLightboxBar

Open in Create
Search
astronomic.dev

LightboxBar

Free

For photo-heavy pages: one bar at the bottom with the caption and every control, in thumb reach on a phone.

File
LightboxBar.astro
Group
Data display
Kind
Interactive: inline script
Examples
1
import LightboxBar from "@astronomic-dev/ui/components/LightboxBar.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Four photos

Click a photo, or tab to one and press Enter. The image fills the space; one bar at the bottom holds the caption at the start, then the counter, prev, next and close, in thumb reach on a phone. Tab goes prev, next, close, as drawn.

main.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.