Skip to content
animorio
IT
All components

Developer profile card

Cards, Hover, TransitionsGSAP, CSS onlyMediumCompressed weight: Demo 8.4 KBGSAP 28 KBFreeDownload the zip

The profile card of a developer, for a developer portfolio: the initials avatar, name, @handle and a line of bio, Follow turning into Following with a tick drawing itself and the followers rolling up by one, three numbers (repositories, stars, followers), six months of contributions in a grid of squares filling in a wave from the left in four strengths of a single green, the «12 contributions on Sep 14» tooltip on every square, the segmented languages bar and the link to the repositories. On white, a single accent.

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>
<!--
  "Developer profile card" 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>Developer profile card</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 profile card of a developer for a portfolio: initials avatar, Follow that turns into Following with the
         follower count rolling, six months of contributions filling in a wave, a tooltip on each square, and the
         languages bar filling segment by segment -->
    <section class="card" data-card aria-label="Developer profile of Tomás Ferreira">
      <span class="card__edge" aria-hidden="true"></span>
      <span class="card__glow" aria-hidden="true" data-glow></span>

      <header class="who">
        <span class="avatar" aria-hidden="true" data-avatar>
          <span class="avatar__ring"></span>
          <span class="avatar__txt">TF</span>
        </span>
        <span class="who__text">
          <span class="who__name">Tomás Ferreira</span>
          <span class="who__handle">@tferreira</span>
        </span>
        <button class="follow" type="button" aria-pressed="false" data-follow>
          <span class="follow__face follow__face--off" data-face-off>
            <span class="follow__group">
              <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 3.4v9.2M3.4 8h9.2"/></svg>
              <span>Follow</span>
            </span>
          </span>
          <span class="follow__face follow__face--on" data-face-on aria-hidden="true">
            <span class="follow__group">
              <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.6 8.4 6.5 11.2 12.4 5" pathLength="1" data-tick/></svg>
              <span>Following</span>
            </span>
          </span>
        </button>
      </header>

      <p class="bio">Building quiet tools for the web, mostly in TypeScript and Rust. Porto, Portugal.</p>

      <dl class="stats">
        <div class="stat"><dt>Repositories</dt><dd class="num" data-repos>38</dd></div>
        <div class="stat"><dt>Stars</dt><dd class="num" data-stars>2,417</dd></div>
        <div class="stat"><dt>Followers</dt><dd class="num" data-followers>1,284</dd></div>
      </dl>

      <div class="contrib">
        <p class="contrib__head"><strong class="num" data-total>1,912</strong> contributions in the last six months</p>
        <div class="grid" data-grid tabindex="0" role="grid" aria-label="Contributions, one square per day. Use the arrow keys to read each day."></div>
        <div class="months" data-months aria-hidden="true"></div>
        <div class="legend" aria-hidden="true">
          <span>Less</span><i class="l0"></i><i class="l1"></i><i class="l2"></i><i class="l3"></i><i class="l4"></i><span>More</span>
        </div>
        <div class="tip" role="status" aria-live="polite" data-tip><span data-tip-text>14 contributions on Mar 3</span></div>
      </div>

      <div class="langs">
        <div class="bar" data-bar aria-hidden="true"></div>
        <ul class="langs__list" data-langs></ul>
      </div>

      <a class="link" href="#repositories" data-link>
        <span>View repositories</span>
        <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h8.6M8.6 4.4 12.2 8l-3.6 3.6"/></svg>
      </a>
    </section>
  </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.

37 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

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 “Developer profile card” 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

The card arrives and a thread of light runs along its top edge. The contribution squares light up in a wave, column after column from the left, each on a small spring, in four greens from pale to full; below, the languages bar fills one segment after another. The pointer moves over the grid: the square it points at gets an outline and hops, and above it the tooltip appears with the count and the day, following the square without leaving the card. Follow is pressed on a spring: the label rises and fades, Following comes in with a tick drawing itself, a green ring widens around the avatar and the followers roll from 1,284 to 1,285. Over a language its segment lifts and the others dim. Pressed again, Following goes back to Follow and the followers roll back.

How it works

A grid made of real days

Each square is a day, from the oldest to the latest Saturday, one column per week with grid-auto-flow: column. The level comes from a seeded random number, lower at weekends, so the grid is always the same and looks real; the months below go where a column's month changes.

The wave from the left

Inside each square a coloured tile grows from scale zero with back.out: the delay is the column times WAVE plus a little for the row, so the wave also runs top to bottom within the week.

A tooltip that stays inside

The tooltip measures itself: it sits centred over the square, but if it would leave the card it stops at the edge, and only the tip (a CSS variable) stays over the square.

Follow with two faces

Follow and Following share one place, absolutely positioned, each centred on its own, and the button has a fixed width: the hidden label never widens it. The follower count only rolls the digits that change.

Values to change

NameFileDefaultWhat it changes
FOLLOWERSscript.js1284The followers before you press Follow.
WEEKSscript.js26The weeks in the grid, one column per week.
BUSYscript.js0.62How busy the year was, from 0 (quiet) to 1 (every day).
WAVEscript.js0.035Seconds between two columns as the grid fills in.
SPRINGscript.js0.55How springy Follow, the ring and the squares are (lower, more bounce).
AUTO_PAUSEscript.js0.8Seconds before the demo starts over.
IDLEscript.js7Seconds after your last touch before the demo plays by itself again.

Try them in the Playground

When to use it

In a developer’s portfolio, on the About page or next to the projects: it says who you are, how much you ship and in which languages, and lets people follow you with one tap.

On phones

Everything is in em and the size depends on both the width and the height of the window, so the whole card fits the phone box; the grid is as wide as its columns and never wider than the card.

With reduced motion

No waves or springs: the squares and the bar fade in already full, the digits change without rolling, Follow changes face with a fade and the ring around the avatar stays still.

Pitfalls

  • Follow’s two faces are absolutely positioned in a fixed-width button: Following, hidden and nowrap, must never be able to widen the cell that centres Follow.
  • The tooltip does not use the CSS translate property: GSAP moves it in y and would wipe the translate; it is placed with measured left and top.
  • Empty squares are not animated: only the tiles of days with contributions, so the wave does not lengthen the timeline for nothing.
  • With autoRound off the tick at pathLength 1 draws itself instead of popping in.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

Tested on 30 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 components