Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultUI componentsRow to Panel List
Mesh Gradient HeroBrowse all 182Card Ring Gallery
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Row to Panel List

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • CustomEase
  • SplitText

Setup

npm i gsapregisterPlugin(CustomEase, SplitText)

More like this

  • List
  • Modal
  • Reveal
  • Expand
  • Split text
  • Morph

Features.

  • An index of rows: a small 4:5 photo, a title and a year
  • Click a row and it grows into a detail panel: the row's surface, photo, title and meta each travel to their place in the panel
  • The description then rises line by line through masks; any link fades up after it
  • On wide screens the panel lands exactly over the list; on phones and short windows it's a centred dialog with the photo on top
  • Escape, the close button or a click outside empties the panel and folds it back into its row; focus returns to the row
  • Click again mid-morph to interrupt it: an opening panel closes, a closing one reopens
  • One native <dialog> for every row, so it's modal and keyboard-friendly out of the box
  • Built on the View Transitions API; browsers without it open the panel with the text reveal and close it at once
  • Respects prefers-reduced-motion: the panel swaps in and out with no animation
  • GSAP with CustomEase and SplitText for the text reveal

How to get it right.

Keep the rows short

Titles and meta don't wrap in the row. A title of two to four words fits at every width. An optional kind column takes one or two words and hides on phones under 480px.

Use portrait photos

The row thumbnail is 4:5, the panel photo is 4:5 beside the text on wide screens, fills the panel's height when it covers the list, and is 4:3 on top on phones. Export around 960px wide so the large one stays sharp.

Put the panel copy next to each row

Each row's [data-mrl-detail] (hidden) holds what the panel shows under the title: paragraphs rise line by line, anything else (a link, a button) fades up after them. It ships with one short line; two or three sentences still fit.

Adding a heading, a kind or a link

It ships with none of them. Put a <header class="mrl_intro"> holding .mrl_heading and .mrl_lede above the list, a <span class="mrl_meta mrl_meta--kind" data-mrl-meta> before the year, or an <a class="mrl_link"> after the paragraph in [data-mrl-detail]. In React, pass heading, lede, kind and linkLabel.

Give the list room

The panel covers the list only when the list box (plus 0.5em above and below) fits inside the window and the window is wider than 767px. A long list that runs past the bottom of the window opens as a centred dialog instead.

Variations.

  • Default — 0.55s grow, 0.44s fold
  • Slow morph — data-au-duration="1"
  • Snappy — data-au-duration="0.35"
  • Your colours — override the --mrl-* variables; --mrl-radius sets the row and panel corners, --mrl-margin the side padding and the dialog's gap to the window edge

Where it fits.

  • Portfolios — a project index where each line opens its own short story
  • Collections and catalogues — artworks, objects or prints with a date and a medium
  • Team or speaker lists — a name per row, a bio in the panel
  • Release notes and journals — dated entries that expand in place

Frequently asked.

The panel still opens and closes, and the description still rises in. Only the morph from row to panel is missing.

Yes. Every [data-mrl-meta] in a row is copied into the panel in order and travels to its copy. Add a grid column for it in .mrl_row.

Yes. Every row is a button: Tab to it and press Enter to open, Tab to the close button or press Escape to close. Focus goes back to the row you opened.

If your page runs Lenis as window.__auLenis, it's stopped while the panel is open and started again on close. Without it, the dialog is modal but the page behind can still scroll.

Yes. Every list runs on its own. Give each panel title its own id and match it in the dialog's aria-labelledby.

Yes: gsap, CustomEase and SplitText, loaded before the script.

Related components.

Pro

Image Slide Tabs

Click

Pro

Glow Band Sheet Modal

Click

Pro

Expanding Card Modal

Click