Publishing sectionsCaseGallery

Open in Create
Search
astronomic.dev

CaseGallery

Pro

For a case study's photos, two side by side or one per row, each with an optional caption.

File
CaseGallery.astro
Group
Publishing sections
Kind
Static: no JavaScript
Examples
2
import CaseGallery from "@astronomic/ui-pro/components/CaseGallery.astro";

Examples

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

  • Static
  • Interactive
  • Framed

Pairs

Two side by side from a 42rem gallery, each 4/3 unless it sets its own ratio; an odd last photo runs across both. A caption sits under its photo.

main.astro

Full width

layout="full": one photo per row, each 16/9 unless it sets its own ratio.

full.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.