Skip to content
animorio
IT
Back to the library

Tattoo flash sheet

SVG, HoverGSAP, CSS onlyMediumCompressed weight: Demo 5.6 KBGSAP 28 KBFreeDownload the zip

The flash sheet of a tattoo studio: six small pencil designs. The one under the pointer is gone over in ink, stroke after stroke, and below it name, size and price appear. A flash is done only once: claiming it turns it red, gives it the “Yours” tag and the count of those left goes down.

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>
<!--
  "Tattoo flash sheet" 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>Tattoo artist's flash sheet with the designs that draw themselves on hover and can be claimed</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="stage">
    <!-- the flash sheet of a tattoo artist: six small designs in pencil; the one under the pointer is drawn again in
         ink, the line below says its name, size and price, and it can be claimed: a claimed design is yours alone -->
    <section class="fl" data-fl aria-label="Flash sheet">
      <header class="fl__head">
        <span class="fl__title">Flash sheet<i>Nettle Tattoo</i></span>
        <span class="fl__left"><b data-left></b> left</span>
      </header>
      <div class="fl__grid" data-grid></div>
      <footer class="fl__foot">
        <span class="fl__what"><span class="fl__name"><span data-name></span></span><span class="fl__info"><span data-info></span></span></span>
        <button class="fl__go" type="button" data-go><span class="fl__go-text"><span data-gotext>Claim it</span></span></button>
      </footer>
      <p class="sr" data-live aria-live="polite"></p>
    </section>

    <svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></path></svg>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.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.

16 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 “Tattoo flash sheet” 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 paper-coloured ground, a light sheet: at the top “Flash sheet” with the studio’s name and how many designs are left, then a grid of six tiles with a grey line drawing in each (a crescent moon, a tide line, a small sun, an arrow, a bay sprig, a star), and at the bottom the chosen design’s name, size, time and price, with a “Claim it” button. On opening the tiles arrive one after the other. Hovering a tile, its design is gone over in black, one stroke at a time, while the tile turns white with an outline and the design settles with a small rotation; the name and the measures below roll in the direction of the move. The arrow is already taken: it has the “Taken” tag and the button switches off. Pressing “Claim it” the ink turns red, the design hops, “Yours” lands on the tile, the button says “It’s yours” and those left go down by one.

How it works

Pencil below, ink above

Each design is written twice: the pencil paths always stay, the ink ones have pathLength 1 and draw themselves with stroke-dashoffset. The strokes of a design start in a row (stagger equal to 80% of one’s duration), like a hand that does not lift.

One at a time

Choosing another design, the previous ink fades and goes back to zero, unless it is claimed: that one stays red. The text below has fixed heights, so the sheet never changes size.

The claim

A claimed design changes class (the ink takes the accent colour), the tag arrives from scale 1.6 rotated by 14 degrees with back.out, and the count of those left is simply how many are neither taken nor mine.

Values to change

NameFileDefaultWhat it changes
DRAWscript.js0.9How many seconds the ink takes to go over a design.
ACCENTscript.js#c8402fThe colour of the claimed design.
STARTscript.js0The design chosen at the start, from 0 to 5.
PAUSEscript.js1.5Alone: how many seconds it stays on each design.
HOLDscript.js2.2Alone: how many seconds the claim stays before starting over.
LOOPscript.jstrueLeft alone, a pointer looks at three designs and claims one.

Try them in the Playground

When to use it

In a tattoo artist’s or studio’s portfolio, on the site of someone selling illustrations or one-off pieces, in any showcase of things that can be taken only once (numbered prints, ceramics, seats).

On phones

The same sheet, as wide as the screen; the tiles never exceed 20% of the height and the designs scale with them. You tap the tile, then the button.

With reduced motion

The ink appears all at once, without drawing; name and measures change without rolling and the tag appears without landing.

Pitfalls

  • The six designs are ours and made of a few strokes: they are changed in the list at the top of the script, one path per stroke.
  • autoRound is off at the top of the script: with pathLength 1 GSAP would go over the designs all at once.
  • Moving quickly between tiles, the previous design is stopped and reset before the new one starts: otherwise half-drawn strokes would stay.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 5.6 KB; the libraries: GSAP 28 KB.

Testing

Tested on 16 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