Measured entry

eldora-photon-beam

background-effectgradient-glowmotion on file

A client-side React background that draws animated light lanes and moving signal trails on a WebGL canvas. It ships as a shadcn registry TSX file, but has no shadcn component dependency. It uses Three.js plus its EffectComposer, RenderPass, and bloom postprocessing modules, with utility classes only for the container.

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

Verdict

A convincing, configurable data-stream backdrop that builds and mounts cleanly without framework providers. The tradeoff is substantial Three.js overhead and an always-running render loop, so it fits a prominent landing section better than routine interface decoration.

Use it if

  • You need a dark hero or section backdrop that suggests data flow, networking, or motion.
  • Your app already accepts Three.js and continuous WebGL rendering for a decorative effect.
  • You want direct control over beam colors, density, motion, trails, and bloom through React props.

Skip it if

  • Bundle weight and graphics runtime cost matter more than a cinematic background.
  • You need reduced-motion behavior, pausing when offscreen, or a static fallback without adding those features.
  • Your target browsers or embedded webviews cannot reliably provide WebGL.
  • You need the background to communicate accessible content rather than remain decorative.

Install

Installation record for eldora-photon-beam
Declared dependenciesreact, three
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, copy the TSX file into the client bundle, install React and Three.js, and ensure the bundler resolves Three.js example postprocessing modules. Add the referenced height, minimum-height, width, and black-background utility classes through Tailwind, or replace them with equivalent CSS. Give the parent a deliberate size.

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.

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.