Energy Web

v1.0.0
FreeBackgroundsWebGLpowered by @vectorvesper/motion

Threads of light that branch out from a corner and crackle where the pointer goes, on a dark or light ground. Set the colours, thread count, spread and glow for a hero background. Holds still under reduced motion.

Energy Web

Installation

Step 1. Initialize ProjectOne-time setup

Run once in your project root to configure paths and dependencies:

npx vectorvesper init
Step 2. Add ComponentInstalls source & assets

Downloads and registers the component in your project:

npx vectorvesper add energy-web
Step 3. Required DependenciesAuto-installed with CLI

If installing manually or managing your package lock:

npm install @vectorvesper/motion three
Packages:@vectorvesper/motionthree

Usage

A dark hero for something technical or electric: an AI product, a developer tool, a launch page. On a light background the threads are drawn as ink, so it works on an off-white page too.

Usage

import { EnergyWeb } from "@/components/vv/energy-web";

export function Hero() {
  return (
    <EnergyWeb color="#8ff5e0" origin={[0.92, -0.06]}>
      <h1 style={{ padding: "24vh 6vw", color: "#fff" }}>Always on</h1>
    </EnergyWeb>
  );
}

Do

  • Move origin to the corner opposite your copy so the threads frame it.
  • Lower intensity and core when text sits close to the threads.

Don't

  • Do not raise spread and intensity together on a small area; the threads fill it and wash it out.

WebGL — render it on the client only

On Next.js, load it with ssr: false from a Client Component, as below. Vite apps need nothing extra.

"use client";

import dynamic from "next/dynamic";

const EnergyWeb = dynamic(
  () => import("@/components/vv/energy-web").then((m) => m.EnergyWeb),
  { ssr: false }
);
This component respects prefers-reduced-motion and provides a graceful fallback.

Props

Threads of light branch out from a bright core, just past a corner by default, and stream slowly outward. Near the pointer they crackle and a soft glow follows it.

<EnergyWeb />

The threads, with your content laid over them. Fills the area, which is 100svh tall unless you size it.

PropTypeDefaultDescription
colorstring"#8ff5e0"The colour of the threads.
accentstring"#f2f0ea"The glow that follows the pointer.
backgroundstring"#000000"The colour behind everything. On a light colour the threads are drawn as ink.
threadsnumber9How many main threads go round the core.
speednumber0.35How fast the energy streams outward.
intensitynumber1.6How bright the threads are.
reachnumber0.25How far the pointer reaches, as a share of the height.
origin[number, number][0.92, -0.06]Where the core sits, as fractions of the width and height from the top left. Past an edge, the threads come in from off screen.
spreadnumber2How far the threads reach from the core.
corenumber1.6How bright the core is. 0 hides it.
classNamestring—Sizes the area. Without a height it is 100svh tall.
styleReact.CSSProperties—Inline styles for the area. A height here wins over the default.
childrenReact.ReactNode—Content drawn over the energy.
Under reduced motion it shows a still glow in the thread colour, centred on the core.
Runs on the Vector Vesper runtime: it stops drawing when it is off screen, draws at a lower resolution on a slow device, and comes back by itself if the browser drops its graphics context.
Client component. It renders its still state on the server and starts drawing once it mounts, so it is safe in a server-rendered route.

Source

/**
 * Energy Web — Vector Vesper
 * https://vectorvesper.dev/components
 *
 * Copyright (c) 2026 Vector Vesper
 * Released under the MIT License. This notice must be retained in copies and
 * substantial portions of the file. https://vectorvesper.dev/license
 */
export * from "./EnergyWeb";
export { default } from "./EnergyWeb";
View on GitHubReport an issue