Measured entry

kokonut-card-stack

carddark-futuristicmotion on file

An interactive product-card stack that expands and collapses on click, with spring motion and reduced-motion support. It ships as a client-side shadcn registry component for Next.js and relies on React, Motion, Next Image, Tailwind utility classes, and a shared cn helper.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of kokonut-card-stack at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of kokonut-card-stack at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-card-stack 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 kokonut-card-stack
BuildOK
MountOK
Console errors4
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal78.3 KB (143.7 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

CONSOLE

Failed to load resource: the server responded with a status of 404 (Not Found)

CONSOLE

Failed to load resource: the server responded with a status of 404 (Not Found)

CONSOLE

Failed to load resource: the server responded with a status of 404 (Not Found)

Verdict

A polished interaction concept with sensible reduced-motion handling and a clean accessibility scan, but it is not drop-in. It needs a shadcn-style setup, its mobile spread needs correction, and the supplied image wiring needs attention before production use.

Use it if

  • You need a compact, tactile way to preview several product or plan cards in one focal area.
  • Your app already uses Next.js, Tailwind, and shadcn-style aliases and utilities.
  • You can replace the sample products and image sources with controlled application data and assets.

Skip it if

  • Your layout must remain overflow-free on narrow phone screens without responsive rework.
  • You need every card's details visible or directly reachable without toggling a layered stack.
  • You want a lightweight static card treatment and cannot justify the added animation dependency.
  • You cannot replace or correctly configure the demo image sources, which produced failed resource requests in the harness.

Install

Installation record for kokonut-card-stack
Declared dependenciesmotion
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Motion and provide React client-component support, Tailwind utilities and dark-mode styles, the cn class-merging helper, and Next Image support or a standard image replacement. Supply the missing local artwork, allow any remote image hosts, and adapt the fixed card geometry for narrow screens.

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 card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.