Skip to Content
Introduction

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-spinners

Requires 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" />;

Package surface

  • createAgentFrameSpinner(frames, intervalMs, displayName): factory for your own sequences (AgentFrameSpinnerProps).
  • Named *Spinner components: re-exported from the package root (see reference).

Readme on npm/GitHub stays minimal; this site holds the full detail.

Last updated on