Skip to content
animorio
IT
Back to the library

Magnetic work list

Hover, TextGSAP, CSS onlyMediumCompressed weight: Demo 10.0 KBGSAP + CustomEase 31 KBFreeDownload the zip

The work list of Foxglove Pictures, a made-up production company, in two columns, commercials and long format: under the title beneath the pointer a white gradient grows from the side you come in and leaves toward the side you go out, the title and the running time follow the pointer at two speeds, in opposite directions. A click plays the title: a white bar in difference wears down across it and next to it a small frame opens with the still. From the hover of the project titles on the PSP Production site, Awwwards Site of the Day on 18/11/2026.

Rebuilt from scratch studying productionportugal.com by Lynksen, Ross Burylo: the idea is theirs; code, copy and images are ours. Read how it’s made

The code

A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.

<!doctype html>
<!--
  "Magnetic work list" from Animorio · https://animorio.com
  License: free on your own sites and your clients’ sites, paid work included.
  Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Foxglove Pictures, recent work</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/inter-tight@5.3.0/index.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/newsreader@5.3.0/wght-italic.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <!-- the work list of Foxglove Pictures, a made-up film and commercials production company: two columns of titles.
       A soft white gradient grows across a title from the side the pointer comes in and leaves toward the side it goes
       out; the year or the running time and the title drift with the pointer at two speeds, the title opens up a
       little and the other titles step back. A click (or Enter) plays a title: a white bar in difference wears down
       across it, a small frame with a still opens next to it, and when the bar is spent the next title plays -->
  <main class="stage" data-stage>
    <div class="glow" aria-hidden="true"><span class="glow__a"></span><span class="glow__b"></span></div>

    <header class="top" data-top>
      <p class="brand">Foxglove <em>Pictures</em></p>
      <nav class="nav" aria-label="Main">
        <a class="nav__link is-current" href="#" aria-current="page" data-brackets><span class="br">[</span><span class="nav__label">Work</span><span class="br">]</span></a>
        <a class="nav__link nav__link--wide" href="#" data-brackets><span class="br">[</span><span class="nav__label">Directors</span><span class="br">]</span></a>
        <a class="nav__link nav__link--wide" href="#" data-brackets><span class="br">[</span><span class="nav__label">Contact</span><span class="br">]</span></a>
      </nav>
    </header>

    <div class="work" data-work>
      <section class="col" data-col>
        <h2 class="col__label"><span class="col__chip" data-chip>Commercials</span></h2>
        <ul class="list" role="list">
          <li><button class="row" type="button" data-row data-director="Ines Moura" data-still="0"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>0:45</span><span class="row__title" data-title><span class="row__t">Paper Moon Run</span></span></span></button></li>
          <li><button class="row" type="button" data-row data-director="Tomas Reyes" data-still="1"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>0:30</span><span class="row__title" data-title><span class="row__t">Velvet Gear</span></span></span></button></li>
          <li><button class="row" type="button" data-row data-director="Mara Lind" data-still="2"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>1:00</span><span class="row__title" data-title><span class="row__t">Low Tide Motors</span></span></span></button></li>
          <li><button class="row" type="button" data-row data-director="Jun Okafor" data-still="3"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>0:20</span><span class="row__title" data-title><span class="row__t">Static Bloom</span></span></span></button></li>
          <li><button class="row" type="button" data-row data-director="Elsa Varga" data-still="1"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>0:45</span><span class="row__title" data-title><span class="row__t">Glass Orchard</span></span></span></button></li>
        </ul>
      </section>

      <section class="col" data-col>
        <h2 class="col__label"><span class="col__chip" data-chip>Long format</span></h2>
        <ul class="list" role="list">
          <li><button class="row" type="button" data-row data-director="Rui Andrade" data-still="2"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>Series</span><span class="row__title" data-title><span class="row__t">Salt and Signal</span></span></span></button></li>
          <li><button class="row" type="button" data-row data-director="Noor Haddad" data-still="0"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>Film</span><span class="row__title" data-title><span class="row__t">The Quiet Coast</span></span></span></button></li>
          <li><button class="row" type="button" data-row data-director="Lea Brandt" data-still="3"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>Doc</span><span class="row__title" data-title><span class="row__t">Eleven Summers</span></span></span></button></li>
          <li><button class="row" type="button" data-row data-director="Tomas Reyes" data-still="1"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>Series</span><span class="row__title" data-title><span class="row__t">Night Ferry</span></span></span></button></li>
          <li><button class="row" type="button" data-row data-director="Ines Moura" data-still="2"><span class="row__wipe" aria-hidden="true"></span><span class="row__glow" aria-hidden="true"></span><span class="row__bar" aria-hidden="true"></span><span class="row__in"><span class="row__meta" data-meta>2026</span><span class="row__title" data-title><span class="row__t">Copper Field</span></span></span></button></li>
        </ul>
      </section>
    </div>

    <!-- the small frame that opens next to the title that plays -->
    <figure class="peek" data-peek aria-live="polite">
      <div class="peek__frame" data-frame>
        <img class="peek__img" src="notte.webp" alt="" draggable="false" data-img>
        <img class="peek__img peek__img--next" src="notte.webp" alt="" draggable="false" data-img-next>
        <span class="peek__sheen" aria-hidden="true"></span>
        <span class="peek__corners" aria-hidden="true"><i></i><i></i><i></i><i></i></span>
      </div>
      <figcaption class="peek__cap">
        <span class="peek__swap"><span class="peek__dir" data-dir>Dir. Ines Moura</span></span>
        <span class="peek__tc" data-tc>00:00:00</span>
      </figcaption>
    </figure>

    <p class="hint" data-hint>Hover a title, click to play it</p>
    <span class="grain" aria-hidden="true"></span>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/CustomEase.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.

55 values to change

Or ask your AI assistant for it

With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:

Take “Magnetic work list” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On a near black page warmed by two rose and wine clouds drifting slowly, with a light grain, the work page of Foxglove Pictures: at the top the name, with «Pictures» in italics, and the menu in square brackets ([ Work ] open, with its pink brackets spread). In the middle two columns, «Commercials» and «Long format», each with its white label and five uppercase titles: before every title not a number but the running time of the spot (0:45, 0:30, 1:00) or the kind (Series, Film, Doc, 2026). On opening the labels stretch out and every row is uncovered by a passing white block. With the pointer over a title, a soft white gradient grows under it from the side the pointer came in, brighter on that side; when it goes out the gradient leaves toward the side it went out. Meanwhile the title follows the pointer and the running time goes the other way, slower, like a magnet at two speeds; the title opens up a little and the other titles step back. Pressed, the title shrinks for a moment and the gradient brightens, then it comes back with a small bounce. The title that plays has a white bar in difference over it (the text below turns black) that wears down from left to right in five and a half seconds, then the next title plays. Next to the column a small frame opens with a real still (a highway at night, a pier at sunset with surfers, the desert, a road seen through the windscreen), with four viewfinder corners, the director's name and a mint timecode running: when the title changes the frame slides next to the new row leaning a little the way it goes, and the new still opens from the middle while it zooms back, with a short colour grade and a passing sheen.

How it works

A gradient with two edges

The site stretches the gradient with scaleX from the side the mouse comes in (--psp-hover-origin left or right) and pulls it back on the same side. Here the gradient has two edges, left and right, from 0 to 1: coming in from the left the right edge grows, coming in from the right the left edge drops, and going out it leaves toward the side the pointer goes. GSAP animates them with the site's curve (0.16, 1, 0.3, 1) in 0.7 s and draws them with xPercent and scaleX, never changing the origin: no jumps if the pointer comes back halfway.

The magnet at two speeds

Inside the row the pointer gives two numbers, up to min(width times 0.12, 18) pixels sideways and min(height times 0.35, 9) up and down, as on the site. The running time moves by -0.28 and -0.16 times (the other way), the title by 0.62 and 0.22 times, with gsap.quickTo in 0.65 s: the two parts part a little and you feel depth.

One listener for the page

The pointer is followed with a single pointermove on the document: it checks which row it is in and, if that changes, the old one leaves toward the side the pointer leaves it and the new one comes in from its own. So moving from the running time to the title of the same row lights nothing again.

The bar in difference

The title that plays has a white rectangle over it in mix-blend-mode difference, inside a row with isolation: isolate: where it passes, the white text turns black. First it stretches from the left in 0.45 s, then its origin moves to the right and it wears down in SHOW seconds; when it is spent, the next title plays, in the other column too.

The frame next to it

The frame sits right of the column, centred on the row, and slides there with the same curve leaning 1.4 degrees the way it goes, then straightens with back.out. The new still opens from the middle (clip-path from inset(50% 50%) to inset(0%)) in 0.9 s with the site's aperture curve (0.65, 0, 0.35, 1) while it zooms back, and the director's name goes up by 12 pixels and comes back from below.

Values to change

NameFileDefaultWhat it changes
SHOWscript.js5.5Seconds a title plays before the next one starts (the bar that wears down).
SWEEPscript.js0.7Seconds of the gradient growing or leaving (the site uses 0.7 s).
MAGNET_Xscript.js18Most pixels the titles drift sideways (the site uses 18).
MAGNET_Yscript.js9Most pixels up and down (the site uses 9).
TITLE_PULLscript.js0.62How much the title follows the pointer (the site uses 0.62).
META_PULLscript.js0.28How much the running time goes the other way (the site uses 0.28).
DIMscript.js0.52Opacity of the other titles while one is under the pointer (the site uses 0.52).
APERTUREscript.js0.9Seconds of the still opening from the middle (the site uses 0.9 s for its videos).
OPEN_SCALEscript.js1.35How zoomed in the still is when it starts opening (the site starts from 2).

Try them in the Playground

When to use it

For the work page of a production company, an editing studio, a director or a photographer, for the project list of a portfolio or an agency, for the line-up of a festival or an event: wherever there is a list of titles to browse and a preview to show without opening anything.

On phones

The two columns stack and the frame keeps its lane on the right; titles and frame are sized on the height too, so everything fits the box. A tap does the same gesture: the gradient comes in from the side of the finger, the title moves with the finger, then the gradient leaves by itself after a moment toward the same side, and the tap plays the title.

With reduced motion

No movement: the rows fade in, the gradient fades in and out, the magnet and the clouds stay still, the frame sits next to the row without sliding and the new still fades in. The bar that wears down stays, because it tells how much is left.

Pitfalls

  • Changing transform-origin halfway through a scaleX makes the gradient jump: to let it leave on the other side you need two edges animated apart, not an origin that changes.
  • pointerenter and pointerleave on the row's children fire when moving from the running time to the title: a single pointermove on the document that finds the row with closest() never gets it wrong.
  • mix-blend-mode difference turns the text black only if bar and text are in the same group: the row has isolation: isolate, so the bar does not blend with the pink background.
  • The bar is first stretched with its origin on the left and then worn down with its origin on the right: the origin changes only when it is full (scaleX 1), where it cannot be seen.

Libraries

GSAP 3.15.0, CustomEase 3.15.0, Inter Tight (font variabile) 5.3.0, Newsreader (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 10.0 KB; the libraries: GSAP + CustomEase 31 KB.

Testing

Tested on 18 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.

All animations