Gallery

Gallery is a Media block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

A shared set of photos people add to, pick from and open full size

Anatomy

Rows that always fill, each photo at its own shape · the photo you point at widens in its row · a colour filter fades the rest to grey · round checks start a selection, and the header turns into Download, Share and Add to page · Upload lands a photo in place under a ring · the lightbox flies out of the tile with zoom, details and a filmstrip

MCPConnect the MCP server

Spring campaign

10 photos · 9 people added to it this week
1 / 10Ridge at first light2,800 × 1,900
100%
A snowy mountain ridge in blue morning light, above a dark forest.

In the Orvain Library

Get Gallery for your product

The block’s code in React and Vue, its frame in the Figma file, and the Orvain MCP so your AI tools build with it. Part of every Library plan, alongside every other block.

  • React
  • Vue
  • Figma frame
  • Orvain MCP

About this block

Part of Media

What’s inside

06parts

The pieces it is built from. Keep them all, or drop the ones your product doesn’t need.

  1. Rows that always filleach photo at its own shape
  2. The photo you point at widensin its row
  3. A colour filter fades the rest to grey
  4. Round checks start a selectionand the header turns into Download, Share and Add to page
  5. Upload lands a photoin place under a ring
  6. The lightbox flies out of the tilewith zoom, details and a filmstrip

Responsive behaviour

900 px

Drawn at this width and never stretched past it. Below it, controls, text and spacing step down from the box the block sits in, not the window.

1440pxDesktop · 12 columns

When to use it

Where Media earns its place

Reach for Media

  • A film, demo or recorded talk inside a product, where people jump to the part they came for.
  • Spoken content people may want to read, quote or search, such as a podcast or an interview.
  • A shared set of images that people add to, choose from and open full size.

Reach for something else

  • A short looping clip used as decoration. A muted, controls-free video element is lighter and asks nothing of the reader.
  • Files people only upload and manage. The File upload family has the drop zones, progress and lists for that.
  • Live streams. These players are built for recordings with a known length, chapters and a transcript.

Accessibility

06to keep

What the block ships with. Hold on to these as you make it yours.

  • Named controlsEvery icon-only button keeps a text label, so a screen reader can say what it does.
  • Keyboard firstEvery control is reachable with Tab, and its focus ring stays visible.
  • More than colourA state never rides on colour alone; a mark or a word goes with it.
  • Contrast holdsRetheme freely, but keep text at or above the contrast it ships with.
  • Calm motionFor visitors who ask for reduced motion, things simply appear.
  • Room to hitTargets stay at least 24px, with space between neighbours.

Notes for AI

1 line

Is all your assistant needs. With the Orvain MCP connected, it builds the block from your own tokens and components.

Add the Orvain “Gallery” block to this page: rows that always fill, each photo at its own shape, the photo you point at widens in its row, a colour filter fades the rest to grey, round checks start a selection, and the header turns into Download, Share and Add to page, Upload lands a photo in place under a ring, the lightbox flies out of the tile with zoom, details and a filmstrip.

Works in
Connect the MCP

Questions about Gallery.

What is the Gallery block?

Gallery is a Media block from Orvain UI, built for React and Vue with a matching Figma frame. Best for a shared set of photos people add to, pick from and open full size.

What is the Gallery block made of?

Is the Gallery block responsive?

Is the Gallery block accessible?

How do I add the Gallery block to my project?

When should I not use a Media block?

More Media blocks

All Media

Audio player

A podcast or recorded talk people can read while it plays

Video player

Showing a film or a product video, chapter by chapter

Voice note

A short recorded message inside a chat or a comment

The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.