Libraries.dev README

The project's README from github.com/Jakubantalik/Libraries.dev. As one markdown file: README.md.

Libraries.dev

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

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.

How to use

Every library ships as a prompt. Copy it, paste it into your coding agent, and make it yours — three steps, no setup.

  1. Copy the prompt. Every library page has a Copy prompt button. One paste gives your agent the whole library: its parameter vocabulary and your current settings.
  2. Paste it into your agent. Drop it into Claude Code, Cursor or Codex. The agent installs the package and wires it in, matched to your theme.
  3. Make it yours. Open the Studio with Pro for every knob, tune it live and copy the result as props.

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.

FAQ

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.

Working in 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.

Releasing

Publishing is per package (publish.yml, npm publish -w <package>): run the workflow by hand with the package name, or publish a GitHub release whose tag is <package>@<version> ([email protected]). A version the registry already has is skipped.

Deploys

The two sites are hosted separately, because GitHub Pages serves one custom domain per repo:

.node-version pins Node 20 for the Cloudflare builds, matching the version the GitHub workflows use; Cloudflare's default is older.

Cloudflare's Retry deployment replays the same commit rather than fetching the branch tip, so a build that failed on an outdated commit keeps failing. Push a new commit to get a fresh one.

Only the beam site carries a public/CNAME; that file is a GitHub Pages mechanism. The Cloudflare-hosted sites bind their domain in the Pages project instead, and the DNS record itself lives at the registrar (inetadmin), not Cloudflare — jakubantalik.com is not on Cloudflare's nameservers.

thinking-orbs arrived by git subtree, so its full history is in this repo — but those commits touched src/…, not packages/thinking-orbs/src/…. git log -- packages/thinking-orbs therefore stops at the merge. To read the real history, log from the commit the merge names:

git log --oneline 9c6d5c3 -- ports/ios/PillsDemo/Sources/PillsApp.swift
git log --follow packages/thinking-orbs/src/index.ts

thinking-orbs also carries native ports under packages/thinking-orbs/ports — a React Native package and a SwiftUI package, kept in step with the web renderer by the golden vectors in spec/. Neither is published yet.

Libraries.dev (Jakubantalik/Libraries.dev)

Searching Database…

What is this?Libraries.dev is a monorepo of seven React UI libraries for building animated AI-agent interfaces: border beam, thinking orbs, bot avatars, liquid gooey shapes, voice glow, liquid metal, and an image mosaic loader.
Is this one library or a set of separate packages?It is an npm-workspaces monorepo holding seven independently publishable npm packages, one folder per effect, each with its own README and LICENSE, plus the demo sites.
How do I add one of these to my project?Install the package you want with npm (e.g. npm install border-beam) and wrap it around the element you already have, or use the Copy prompt button on each library's page to hand the install and setup steps to a coding agent.
What do I need to use these — any required framework version?You need React 18 or newer. Each package is standalone with zero runtime dependencies, except the Image library, which also requires three as a peer dependency.
Is everything here free to use?The seven libraries themselves are free and MIT-licensed; deeper per-library customization and configuration export live in the Studio, which requires the paid Pro plan.
Can I use these in a commercial project?Yes — the libraries themselves are MIT-licensed and usable anywhere, including commercial work; only Pro-exclusive content like Studio exports and presets carries a separate license tied to your plan.
Does dark mode work automatically, or do I need to configure it?Yes — the default theme='auto' detects a data-theme attribute or dark class on an ancestor, then falls back to prefers-color-scheme and updates live; you can still pin theme='dark' or theme='light' manually.
Can I use the copy-prompt workflow with any coding agent?Every library page has a Copy prompt button that hands Claude Code, Cursor or Codex the library's full parameter vocabulary plus your current settings, so the agent can install and wire it in for you.
What extra do I get with the paid Pro plan?Pro unlocks the Studio for deep per-library customization beyond the public playgrounds, lets you export the exact configuration as props, and includes Pro presets plus every future library and update.
Are the native React Native and SwiftUI versions of Thinking orbs ready?No — native ports live under packages/thinking-orbs/ports and are kept in sync via golden vectors, but neither has been published yet.
Size
91 MB
Stars
4.3K
Age
6mo
Commits · 90 Days