Stagger Grid

Images that rise out of depth and tilt up to face you, column by column, as each row scrolls in.

  • The Halden R camera from three quarters, lens forward.
  • A cobalt ceramic cup of coffee on a brushed steel counter in morning light.
  • The Halden R in profile, showing the grip.
  • Roasted coffee beans on the steel counter, with the same cobalt cup behind them.
  • The back of the Halden R, with its screen and dials.
  • A slender stream of coffee pours into the cobalt cup.
  • The Halden R from above, showing the shutter dial.
  • The Halden R taken apart into its body, lens and battery.
import { StaggerGrid } from '@brand-studio/ui';
import { beans, cameraViews, cup, pour } from '@/demos/assets';

export default function StaggerGridDemo() {
  return (
    <div style={{ width: '100%', padding: 24 }}>
      <StaggerGrid label="Halden field notes" images={[cameraViews[0], cup, cameraViews[2], beans, cameraViews[3], pour, cameraViews[4], cameraViews[5]]} />
    </div>
  );
}

Installation

pnpm add @brand-studio/ui

Usage

import { StaggerGrid } from '@brand-studio/ui';
<StaggerGrid label="Field notes" images={images} />

Accessibility

  • The grid is a labelled list of images with their alt text.
  • Before scripts run, and under reduced motion, it is a flat grid.

API Reference

PropTypeDefault
imagesImageAsset[]–
label?string'Gallery'
className?string''

Still, Deskhand and Hollis are fictional brands. The coffee photographs are original generated artwork. @brand-studio/ui is MIT licensed.