Measured entry
animata-shooting-stars
background-effectdark-futuristicmotion on file
A client-side React background that layers randomized SVG shooting stars and twinkling dots behind supplied content. It ships as a shadcn registry item with separate TypeScript and CSS files, uses Tailwind utility classes and a local cn helper, and relies on browser resize and motion-preference APIs rather than an animation package.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 28.0 KB (93.4 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 41.41s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/animata/background/shooting-stars.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A credible dark-theme backdrop that mounts cleanly, stays contained across the tested layouts, and avoids extra animation libraries. It still needs a shadcn-style setup because the source assumes the usual utility helper and path alias.
Use it if
- You need an animated night-sky backdrop for a dark hero, launch page, or product announcement.
- You want foreground content to remain ordinary React children while the effect stays decorative and behind it.
- You need the animation to respect reduced-motion preferences and adapt its star field when the container changes size.
Skip it if
- Your interface uses a light, restrained, or editorial visual language where a dense celestial backdrop would distract.
- You require deterministic server-rendered artwork with no randomized client-side state.
- You do not want to carry Tailwind utilities, a cn helper, and component-local animation CSS for a decorative effect.
Install
| Declared dependencies | none declared |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, copy both source files, import the CSS, replace the aliased cn import with your own class-name helper or direct class handling, and ensure Tailwind processes the component utilities. Keep it client-side and provide ResizeObserver and motion-query support in the target browsers.
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/animataAlternatives
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.
- ruixen-loading-circlegradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 17.7KB
- Bare
- pass
- Prov
- NO
- eldora-hacker-backgrounddark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- ruixen-ripple-circlesgradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- ruixen-dual-tone-rain-backgroundunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 18.4KB
- Bare
- pass
- Prov
- NO
- cultui-lightboardliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 19.6KB
- Bare
- pass
- Prov
- NO
- ruixen-mouse-sparkunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 20.6KB
- Bare
- pass
- Prov
- NO