Measured entry

tripled-folder-animation

loaderminimal-flatmotion on file

A client-side React card that animates a folder illustration across a framed stage on hover or keyboard focus, then returns it to center. It ships as a shadcn registry component and uses Framer Motion, Tailwind utility and theme classes, plus a cn helper backed by clsx and tailwind-merge. It accepts custom folder artwork, footer content, timing, labeling, and container classes.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-folder-animation at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-folder-animation at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-folder-animation at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for tripled-folder-animation
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal70.8 KB (136.3 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A sound, reusable choice for file-oriented waiting states when interaction-triggered motion fits the product. It mounts cleanly, adapts across tested layouts, supports custom artwork and reduced motion, but the Framer Motion cost is substantial for such a focused effect.

Use it if

  • You need a compact visual state for file syncing, uploads, exports, or workspace preparation.
  • Your interface already uses Tailwind theme tokens and can accommodate Framer Motion.
  • You want hover and keyboard focus to trigger the same animation while respecting reduced-motion preferences.

Skip it if

  • You need a determinate progress indicator that communicates actual completion status.
  • You want an animation that starts automatically without adapting the interaction logic.
  • Your bundle budget cannot justify adding Framer Motion for a single decorative loader.
  • Your design system does not use Tailwind utilities or shadcn-style color tokens and you do not want to translate the styling.

Install

Installation record for tripled-folder-animation
Declared dependenciesframer-motion, react, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, add React and Framer Motion, provide Tailwind with equivalents for the referenced theme tokens, and create a cn utility using clsx and tailwind-merge. Mark the component for client-side rendering where your framework requires it.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Alternatives

Other published entries for the loader pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.