Sections · Component Template
Hover Reveal List
A project list that keeps the pictures out of the rows. The cover floats beside the pointer and wipes into the next image.
Live demo
Hover a project to bring up its cover, or filter the list by Brand, Product, or Motion.
The Prompt
Build a portfolio list where the pictures stay out of the rows. The type is a large list. The cover for the row under the pointer floats beside the cursor, bows as it moves, and the next cover eats into it through a noise front. The studio is fictional, Odd Hours, in Rotterdam. Eight projects, each cover drawn in code. Match my project's existing stack, conventions, and design tokens. If there are none, output a single HTML file with inline CSS and JavaScript and zero dependencies. LOOK Page #f7f7f5, ink #111214, dim ink at 50% opacity, hairline at about 12% opacity. System sans. Nav, the name Odd Hours, then Work, Studio and Contact. Hide the links below 700px. A heading line, "Selected work" plus a count, "8 projects", in tabular figures. A filter group named "Filter by discipline" with All pressed, then Brand, Product and Motion. Pills, 34px tall, hairline, the pressed one filled ink with page-colored type. The list is white type in mix-blend-mode difference, so it reads as ink on the page and inverts over the picture. Rows are a grid, the name in clamp(34px, 6.4vw, 96px) with tight tracking, then the discipline, then the year in tabular figures. Below 700px drop the year. A hairline under each row. Hovering the list fades the other rows to 28% and shifts the active name 14px to the right. The same treatment applies to keyboard focus. A footer, "Odd Hours, Rotterdam" and a link back to the top. The eight covers are 800 by 1000 canvases, then shown both as a small thumbnail and as a WebGL texture. Paint the background, then the drawing, then the name at the lower left and "Discipline, year" at the lower right. Use light type on dark grounds and dark type on Halcyon's yellow, Ostra's lilac and Quill's green. Halcyon, Brand, 2026, ground #0f4c4a. A cream disc and six horizontal bars. Morrow Ferries, Product, 2025, ground #122a52. Seven coral wave strokes and a small peach sun. Juno Bikes, Brand, 2025, ground #ffd23f. Two wheels and a frame in #111214. Ostra, Motion, 2024, ground #d9cff2. A tilted ellipse in a pale radial gradient and a small light disc. Vela Type, Brand, 2024, ground #111214. A huge "Aa" and a short red rule. Quill, Product, 2023, ground #cfe8d6. Four stacked rounded cards. Use roundRect where it exists, otherwise a plain rect. Lumen Night Market, Motion, 2023, ground #25103d. Twenty-six soft radial lamps. Fenwick Hotel, Brand, 2022, ground #9c3b2a. Three arched windows in #f2d6c4. Anchors resolve. Work and Back to top point at the main element. Studio and Contact both point at the footer, which is the only studio line on the page. Project links do not navigate. This demo has no case study pages, so prevent the click. Build every row and every filter button with createElement and textContent. Do not assemble HTML strings. Each row link's accessible name is the project, the discipline and the year. THE COVER Use the floating cover only when the device can hover and the visitor has not asked for reduced motion. Otherwise add a thumbs class. Thumbnails, 56 by 70, show in the row, the list drops the difference blend, and the type returns to ink. That is the fallback, and it is also what reduced motion and touch get. When the cover runs, a fixed WebGL1 canvas sits behind the list, alpha and premultiplied, antialias on. Check compile and link. On failure, use the thumbs fallback. GLSL ES 1.00 only. Do not add a float to a vector, and do not pass a float to max where the other value is a vector. The sheet is a 24 by 24 grid so it can bend. A spring pulls it toward the pointer. Subtract a little of the velocity around the middle of the sheet so the center lags and the cover bows, and tilt it slightly from horizontal speed. Place it up and to the right of the pointer, about 22% of the viewport wide, clamped between 220 and 340px, and 1.25 times as tall. Round the corners by about 10px in the fragment shader, with a soft edge. Crossfade with a noise front rather than a dissolve, warp the UVs a little at mid-mix, and split a hint of red and blue along the velocity. Darken the corners. The cover fades in and out. Changing rows restarts the mix. Scrolling hides it. Leaving the list hides it. Focusing a row shows it beside that row. If a filter hides the project currently showing, hide the cover. Filters set aria-pressed, collapse hidden rows with grid-template-rows from 1fr to 0fr over about 450ms, fade them, and remove them from tab order. Update the count, "1 project" or "N projects". Resize the drawing buffer when width or height changes, capped at 2x. Stop the loop when the sheet is still and the tab is hidden. On load, the heading rises and unblurs. With reduced motion it is already settled. ACCESSIBILITY One h1. The canvas is hidden from assistive tech. The filter is a named group of real buttons. Hidden projects are not tabbable. The count is text, not an image. Reduced motion and touch still show every project, as thumbnails, and the filters still work. NEVER - Never put the photographs in the rows when the floating cover is available. The list is type, and the picture follows the pointer. - Never dissolve between covers with a flat crossfade. The next image arrives through the noise. - Never leave a filtered-out project on the floating cover. - Never build a row or a button from an HTML string. - No libraries, no image files, no fonts from a network.
- CopyThe full prompt, one click.
- PasteInto Cursor, Claude Code, or any agent.
- CompareAgainst the live demo above.