High-crafted UI libraries for AI agents: Border beam, Orbs, Metal, Gooey, Voice, Image, Avatar bots
翻訳待ち
Loading the full README.
Read the full README ↗High-crafted UI libraries for AI agents. Seven React libraries for the effects that make an interface feel alive: a beam of light travelling a card's border, orbs that think while a model works, bot avatars with living faces, shapes that merge like liquid, a glow that rises with your voice, brushed metal that catches the light, and an image loader that dissolves a pixel mosaic into a real photo.
Each one installs from npm and drops into your app as a single component that wraps the element you already have. Your markup keeps its semantics, the effect renders around or behind it, and the whole thing is tuned by props rather than hand-written WebGL.
| Library | What it does | npm | Page |
|---|---|---|---|
| Border beam | A soft glow that rides the border of a card, button or input | npm install border-beam | libraries.dev/beam |
| Thinking orbs | Orbs that think while you wait — nine loading states for AI interfaces | npm install thinking-orbs | libraries.dev/orbs |
| Bot avatars | Animated bot avatars with living faces — eighteen glossy shapes, four states, for AI agents | npm install bot-avatars | libraries.dev/avatars |
| Gooey | Pieces that merge like goo and morph like jelly while text stays crisp | npm install liquid-gooey | libraries.dev/gooey |
| Voice | A glow that rises with your voice from the bottom of a chat input or phone screen | npm install voice-glow | libraries.dev/voice |
| Metal | Liquid metal for buttons, icons, text and badges, with reflections and cursor light | npm install metal-fx | libraries.dev/metal |
| Image | A loader that becomes the image — a WebGL pixel mosaic that settles into the picture | npm install img-fx | libraries.dev/image |
| Distortion waves | A colourful wave that carries one screen into another — vertical, horizontal or center (SwiftUI) | .product(name: "DistortionWavesKit", package: "Libraries.dev") | libraries.dev/distortion-waves |
Try each one on libraries.dev: a live preview to play with, the install command, the usage code, and a playground that copies the exact configuration.
Every library ships as a prompt. Copy it, paste it into your coding agent, and make it yours — three steps, no setup.
Or the plain way:
npm install border-beam # or thinking-orbs, bot-avatars, liquid-gooey, voice-glow, metal-fx, img-fx
import { BorderBeam } from "border-beam";
<BorderBeam>
<button>Get started</button>
</BorderBeam>
Each package's README documents its props.
What do I need? React 18 or newer. Each library is a standalone package with zero runtime dependencies, except Image, which also needs three as a peer dependency.
Do they work with coding agents? Yes — that is the point. Every library installs and configures cleanly from Cursor, Claude Code and Codex, and each playground's copy-prompt button hands your agent the library's full parameter vocabulary along with your current settings.
Light and dark mode? Both, detected for you. The default theme="auto" resolves a data-theme attribute or dark class on an ancestor, then falls back to prefers-color-scheme, updating live when either changes. Pass theme="dark" or theme="light" to pin one.
What are Pro and the Studio? One plan across every library. Pro unlocks the Studio — deep, per-library customization beyond the public playgrounds, with export of the exact configuration — plus Pro presets and every future library and update. See pricing.
Commercial projects? The libraries are MIT — use them anywhere, including commercial work. Pro content (Studio exports, Pro presets and recipes) is licensed to you or your team under the plan you buy, for unlimited projects.
What about the models? The code around them (MagnetKit for iOS and Android) is MIT. The model files themselves, starting with Magnet.mfxl for Magnetic UI, are under the Libraries.dev Model License: free for development, prototypes and non-commercial apps; shipping one in a commercial app needs Pro or Business. They are downloaded from libraries.dev and never committed to this repo.
npm workspaces: packages/ holds the published libraries (one folder per npm package, each with its own README and LICENSE), sites/ the demo sites — sites/home is libraries.dev.
npm install
npm run build:site-home # every library + libraries.dev, as CI does
npm run dev -w @sites/home # libraries.dev with every page and the Studio
npm run typecheck # every workspace
The home site imports the built packages, so build a library (npm run build:beam, build:orbs, build:gooey, build:voice, build:metal, build:image) before its page or bench. The standalone demos (@sites/beam, @sites/gooey, @sites/orbs) alias their library to its source and hot-reload without a rebuild.
This is the beginning of the README. Read the rest at the original. Read the full README ↗