next-spinners
Braille / Unicode frame spinners for React and Next.js: same frame sequences and timing as expo-agent-spinners , packaged as Client Components with inline styles.
Quick start
npm install next-spinnersRequires Node 22+. Peer dependencies: react and react-dom ^18 or ^19.
"use client";
import { DotsSpinner } from "next-spinners";
<DotsSpinner size={24} color="#38bdf8" label="Loading" />;- Guide: client boundary, props, theming, custom frames, App Router
- Live gallery (by origin): every frame spinner, rendered in the browser
- Expo → export mapping: upstream demo keys and all named exports
- Maintainers: regenerating modules and preview assets
Package surface
createAgentFrameSpinner(frames, intervalMs, displayName): factory for your own sequences (AgentFrameSpinnerProps).- Named
*Spinnercomponents: re-exported from the package root (see reference).
Readme on npm/GitHub stays minimal; this site holds the full detail.
Last updated on