Converging Streams
ComponentsDiagramsConverging Streams
DiagramsNew

Converging Streams

Curved signal paths and moving packets frame a call to action.

USE IT FORIntegration sectionsProduct CTAsWorkflow pages
React + CSS
Explore the full-width experienceOpen preview
CONNECT YOUR STACK

Your tools.
One workflow.

Live component. Go ahead, interact.
01

Installation

Run this in your shadcn-configured React project. The component and stylesheet are added together.

TERMINAL
npx shadcn@latest add http://localhost:5173/r/converging-streams.json

This command uses the current site address. For localhost, keep this preview running on the same computer. Files follow your configured components alias.

02

Usage

Import the component and make the details your own.

TypeScript
import { ConvergingStreams } from '@/components/anticraft/ConvergingStreams';

export function Example() {
  return (
    <ConvergingStreams duration={8} interactive>
      <h2>Connect your workflow</h2>
      <a href="/integrations">Explore integrations</a>
    </ConvergingStreams>
  );
}
03

Props

PropTypeDefaultDescription
childrenReactNodeRequiredYour heading, links, or other content in the central space.
colorsstring[]Four muted signal colorsCSS colors repeated across the paths. An empty array uses the default palette.
durationnumber8Seconds per packet journey, clamped to 2–30.
direction'inward' | 'outward''inward'Moves packets toward or away from the center.
pausedbooleanfalseExternal pause override. The built-in motion button is disabled while true.
defaultPausedbooleanfalseInitial state of the built-in motion control.
tone'dark' | 'light''dark'Surface and text palette; override CSS variables for your brand.
interactivebooleantrueReveals flowing, refracted-light patterns in an ASCII field with a soft pointer wake. Set false to keep only the lines. Touch and reduced motion skip the field.
classNamestring''Additional classes on the container.
04

Motion & accessibility

Considered by default.

The native pause button freezes packets and clears the pointer field. Reduced motion shows static paths and packets. Animation also pauses when the component is offscreen or the document is hidden. The optional canvas field responds to mouse or pen movement, fades on exit, and ignores touch. Both decorative layers leave links and keyboard focus available.

Use semantic content and meaningful labels in your composition. Check contrast and keyboard behavior with your own styles and content.

05

Inspiration

The live CTA’s curved paths, traveling signals, and pointer-following ASCII cloud informed this original SVG and Canvas 2D composition. Content, colors, direction, timing, and pointer interaction are configurable.

Visit RouterPlus

The linked site is the design or content reference. See the repository for demo artwork credits.