Skip to content

Releases

agent-swarm-effect v0.1.2

Choose a tag to compare

@zadescoxp zadescoxp released this 08 Nov 08:18

Full Changelog: v0.1.1...v0.1.2

agent-swarm-effect v0.1.1

Choose a tag to compare

@zadescoxp zadescoxp released this 08 Nov 08:06

The first release of agent-swarm-effect: wrap any element and a crew of cursor agents flies in to drag out its frame, sweep it with a scan line and type its text in, one character at a time.

npm i agent-swarm-effect
import { Swarm } from "agent-swarm-effect";

<Swarm>
  <div>this is a div</div>
</Swarm>

What's in it

  • <Swarm> React component, useSwarm hook, and a framework-free core at agent-swarm-effect/vanilla
  • Real character-by-character typing with the CSS Custom Highlight API, so fonts and kerning stay untouched
  • visible, mount and manual triggers, plus play(), replay() and reveal() through a ref
  • Automatic light/dark ink, custom colours, speed, labels, name tags and scan line options
  • Next.js ready ("use client" built in, no flash before hydration), reduced-motion support
  • About 6 KB gzipped, zero dependencies

Website, docs and live examples: https://zadescoxp.github.io/agent-swarm-effect/
npm: https://www.npmjs.com/package/agent-swarm-effect

The promo video is attached below.