Skip to content

JPROT Catalog
Home All elements Install
JPROT CatalogHomeAll elementsInstall

On this page

InstallUse it as a homepage sectionUse it inside a pageProps
JPROT CatalogHomeAll elementsInstall

On this page

InstallUse it as a homepage sectionUse it inside a pageProps

PhotoStack

overlapping layers of photos, one poking behind the other.

Live preview

Behind the scenes

Install

From your site folder, run:

jprot add PhotoStack

That downloads the self-contained component into theme/components/PhotoStack.js, where it is picked up automatically — the same way as any built-in component. To remove it later, just delete that file.

Use it as a homepage section

Add an entry to the sections: list in jprot.config.js:

sections: [
  { component: 'PhotoStack', title: 'PhotoStack' },
]

Use it inside a page

On its own line in any Markdown file, passing the props:

:::PhotoStack images='["https://picsum.photos/seed/s1/500/360","https://picsum.photos/seed/s2/500/360","https://picsum.photos/seed/s3/500/360"]' caption="Behind the scenes"

Props

PropTypeNote
imagesarrayimage URLs, order = back to front
captionstringsmall caption

↩ Back to all elements

© 2026 JPROT Catalog