Measured entry

animata-animated-beam

background-effectgradient-glowmotion on file

A React wrapper that places animated diagonal light streaks and a faint grid behind supplied children. It ships through a shadcn registry as a TSX component plus colocated CSS, uses Tailwind utility classes and the conventional cn helper, and needs no provider or third-party runtime package.

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

What the harness recorded

BARE BUILD

✗ Build failed in 35.34s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/animata/background/animated-beam.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A solid decorative backdrop that builds, mounts, and stays contained across the tested layouts. Reduced-motion handling is included, but the bare mount fails because it needs a shadcn-style setup, specifically the shared utility alias and compatible Tailwind styling.

Use it if

  • You need a dark animated backdrop behind hero copy or a compact callout.
  • Your app already uses Tailwind and the usual shadcn alias and cn helper.
  • You want motion that automatically disappears when reduced motion is requested.

Skip it if

  • Your design must remain light, restrained, or visually quiet behind content.
  • You cannot adopt Tailwind utilities or maintain the colocated animation stylesheet.
  • You want a standalone package that works without project aliases and shared utilities.
  • You need an interactive connection diagram rather than a decorative background.

Install

Installation record for animata-animated-beam
Declared dependenciesnone declared
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 or replace the cn helper, configure the at-sign source alias, provide a compatible Tailwind setup for the utility classes, and copy the CSS file so the keyframes and reduced-motion rule load with the component.

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.

Author repository

github.com/codse/animata
License
MIT
Record published
2026-08-14

Alternatives

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