Repository navigation
Releases
Releases · zadescoxp/agent-swarm-effect
agent-swarm-effect v0.1.2
Full Changelog: v0.1.1...v0.1.2
agent-swarm-effect v0.1.1
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-effectimport { Swarm } from "agent-swarm-effect";
<Swarm>
<div>this is a div</div>
</Swarm>What's in it
<Swarm>React component,useSwarmhook, and a framework-free core atagent-swarm-effect/vanilla- Real character-by-character typing with the CSS Custom Highlight API, so fonts and kerning stay untouched
visible,mountandmanualtriggers, plusplay(),replay()andreveal()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.