Skip to content
Finer UI

What makes Sorting gallery work

Category
Media
Added
Nov 4, 2026
Good for
Any portfolio or project gallery: builders, interior designers, landscapers, photographers, restaurants
Built with
HTML, CSS and JavaScript, no libraries.
  1. 01Everything is adjustable: background and text colours, title size, tile and corner roundness, gaps, move and open timing, stagger, hover zoom, and the heading, All filter and count words.
  2. 02Rows are worked out across the whole set, like lines in a well-set paragraph, so every row fills the width at an even height and there's never one lonely photo at the end.
  3. 03Pick a filter and the photos slide to their new places. Each one changes its crop smoothly around the important part of the picture, never stretching.
  4. 04Click a photo and it opens in a panel right under its row, uncropping as it grows. Big lightboxes lose your place and break inside website builders; this doesn't.
  5. 05Step through with the arrows or arrow keys; a small notch slides along to point at the photo you're on. The full-size file fades in once it has loaded.
  6. 06Every move can be interrupted: click filters quickly, step fast or close mid-way and everything settles in the right place.
  7. 07Arrow keys move between photos across uneven rows. It works on phones, with screen readers and with reduced motion. The filters come from each photo's type.

Try it with your photos

Add your own work and the element above uses it straight away. Your photos also go into the code you copy below. They stay in this browser and are never uploaded to a server.

The demo photos are showing. Add yours and they'll appear here, where you can caption and reorder them.

Use this element

Copy it into your website builder. It keeps the exact design and behavior, and your site's styles can't change it.

A short snippet that loads the element from finerui.com, signed with your embed key. Fixes and updates made here show up everywhere it's used.

Paste it into an HTML or embed block:

  • Wix: Add, then Embed code, then Embed HTML
  • Squarespace: a Code block
  • Webflow: an Embed element
  • WordPress: a Custom HTML block
  • GoHighLevel: a Custom JS/HTML element

It sizes its own height and has a clear background, so it sits on your page like it belongs there.

The code is for premium members

Premium members copy Sorting gallery and every other element as an embed, a full file or a Lovable prompt. From $12.42 a month.