Libraries.dev

Five zero-runtime-dependency React effects (border beam, thinking orbs, voice glow, bot avatars, liquid gooey) plus a WebGL port of Distortion Waves

5 packages
•
React 18+ peer · empty dependencies

About this page

Focused demos of Libraries.dev effects wired into sher.md. Theme follows the site toggle via next-themes. Microphone access for VoiceBeam needs a secure context (https or localhost) and a user gesture.

BorderBeam

BorderBeam card

Animated rainbow glow riding the border. Props: size="md", colorVariant="colorful", strength=0.7, theme synced to site dark mode.

ThinkingOrb

ThinkingOrb

State: searching

VoiceBeam

VoiceBeam chat input

Mic-reactive glow under the input. Uses useMicrophone(), type="default", colorVariant="colorful", strength=0.85.

Mic: unsupported

BotAvatar

BotAvatar — clover

Highlighted agent toggles default. Theme synced via next-themes; shading fabric.

Roster

star
flower
ghost
droid
cat
blob

Liquid (Gooey)

Liquid (Gooey) FAB

Click the plus to expand — pieces merge like goo. Props: blur=6, contrast=18, theme-aware fill/shadow, transition="bouncy".

Distortion Waves

Integration notes

Each package ships with empty runtime dependencies (verified in node_modules/*/package.json). Peer dependency: React 18+.

border-beam@1.4.1

Mounted: BorderBeamDemo — wraps the primary demo card on /libraries-dev

Docs

Props chosen

  • size="md"
  • colorVariant="colorful"
  • strength={0.7}
  • theme={resolvedTheme} // "dark" | "light" from next-themes
npm install border-beam@1.4.1

thinking-orbs@0.3.2

Mounted: ThinkingOrbDemo — AI thinking indicator with state cycling

Docs

Props chosen

  • state="searching" // default; cycle via "Next state"
  • size={64}
  • theme={resolvedTheme} // package API uses theme, not dark
npm install thinking-orbs@0.3.2

voice-glow@0.2.1

Mounted: VoiceBeamDemo — VoiceBeam wraps chat input; useMicrophone drives stream + Listen/Stop

Docs

Props chosen

  • stream={mic.stream}
  • processing={thinking}
  • type="default"
  • colorVariant="colorful"
  • strength={0.85}
  • theme={resolvedTheme}
npm install voice-glow@0.2.1

bot-avatars@0.2.0

Mounted: BotAvatarsDemo — highlighted clover toggles working/default; roster grid of star/flower/ghost/droid/cat/blob

Docs

Props chosen

  • type="clover" // roster also uses star, flower, ghost, droid, cat, blob
  • state={busy ? "working" : "default"}
  • face="mouth" // on flower + cat roster entries
  • size={72} // clover; roster uses 44
  • shading="fabric"
  • theme={resolvedTheme} // "dark" | "light" from next-themes
  • interactive // default true
npm install bot-avatars@0.2.0

liquid-gooey@0.2.2

Mounted: LiquidGooeyDemo — FAB cluster; open state fans Liquid.Item buttons that merge like goo

Docs

Props chosen

  • blur={6}
  • contrast={18}
  • fill={isDark ? "hsl(0 0% 18%)" : "#fff"}
  • shadow={isDark ? "0 2px 10px rgba(0,0,0,.45)" : "0 2px 6px rgba(0,0,0,.08)"}
  • Liquid.Item effect="morph"
  • x / y driven by open state (e.g. -54/-34, 0/-64, 54/-34)
  • transition="bouncy"
  • delay={40|80|100} // stagger on satellite items
npm install liquid-gooey@0.2.2