Measured entry

tripled-native-marquee-shadcnui

scroll-effectminimal-flatmotion on file

A client-side React marquee for repeated icon-and-label pills, with horizontal or vertical flow, reverse motion, optional hover or touch pausing, and companion edge fades. It ships as a shadcn registry component and relies on React, Framer Motion, a Tailwind-based theme, and the aliased cn utility.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-marquee-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-marquee-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-marquee-shadcnui 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-native-marquee-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal74.4 KB (139.9 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 112ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-f37c2facaeea/src/cut/demo.jsx".

Verdict

A capable choice for decorative, noninteractive ticker rows in an existing shadcn app, with flexible direction and pause behavior. It needs a shadcn-style setup and is less compelling when motion accessibility, server-rendered content, or dependency weight is the priority.

Use it if

  • You need a continuously scrolling strip of short labels, logos, or feature tags.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and Framer Motion.
  • You want selectable direction, orientation, spacing, speed, and pointer-based pausing without building the loop logic.

Skip it if

  • You need meaningful content rendered before client hydration, because the component initially returns nothing.
  • Your motion policy requires a built-in reduced-motion fallback or visible playback control.
  • You want a lightweight CSS-only marquee and do not otherwise ship Framer Motion.
  • Your items are interactive controls, since duplicated tracks and hidden copies are designed for display content.

Install

Installation record for tripled-native-marquee-shadcnui
Declared dependenciesframer-motion, react, clsx, tailwind-merge
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 React and Framer Motion, configure Tailwind with the referenced color and border tokens, create the aliased cn helper using clsx and tailwind-merge, and support the client-component directive. Add lucide-react only if you keep the supplied demo icons.

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