Measured entry
kokonut-beams-background
background-effectdark-futuristicdo not usemotion on file
A client-side, full-viewport canvas background that sends blurred, pulsing color beams upward and overlays a Motion-powered fade plus fixed heading copy. It ships as a shadcn registry component and depends on React, Motion, Tailwind utility classes, a dark-mode class on the document, and the usual cn utility alias.



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 | FAIL |
| 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 | 67.7 KB (133.1 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 1m 50s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/kokonutui/beams-background.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A convincing atmospheric hero effect for the stack it targets, but not a neutral drop-in. It builds in the prepared harness yet needs a shadcn-style setup to resolve its utility helper and alias, and the unsuccessful mount result warrants an integration check before adoption.
Use it if
- You need an animated hero backdrop that fills the viewport and supports class-based light and dark themes.
- Your React app already uses Tailwind, Motion, and the shadcn-style cn helper and import alias.
- You are comfortable editing the bundled heading or extracting the canvas layer for your own hero content.
Skip it if
- You need a drop-in background that accepts arbitrary children, because the declared children prop is not rendered and the heading is fixed.
- You need motion to respect reduced-motion preferences without adding that behavior yourself.
- You want a lightweight static treatment or need to avoid a continuously animated, full-window canvas.
- Your layout should size the effect to a container rather than the browser viewport without source changes.
Install
| Declared dependencies | motion |
|---|---|
| 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, add React and Motion, configure Tailwind with class-based dark mode, then provide the cn class-merging helper at the expected import alias or replace that import with a local equivalent. Also replace the fixed heading and add a reduced-motion path if required.
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/kokonut-labs/kokonutuiAlternatives
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