SpinnerSpinner

Spinner

109 terminal spinner animations for Node.js

A terminal spinner library with 109 animations, styling support, multi-spinner management, and interactive terminal integration via @visulima/interactive-manager.

Features

  • 109 Spinners - Curated animations from cli-spinners, Rattles, and unicode-animations
  • Styling - Declarative SpinnerStyle objects or custom (text) => string functions
  • MultiSpinner - Display and manage multiple spinners concurrently
  • Interactive Terminal - Coordinates with @visulima/interactive-manager for dynamic output
  • Pause/Resume - Pause and resume spinner animation
  • Custom Icons - Configure success, failure, warning, and info icons
  • TypeScript - Full type support out of the box

Quick Example

import { InteractiveManager, InteractiveStreamHook } from "@visulima/interactive-manager";
import { Spinner } from "@visulima/spinner";

const stdoutHook = new InteractiveStreamHook(process.stdout);
const stderrHook = new InteractiveStreamHook(process.stderr);
const manager = new InteractiveManager(stdoutHook, stderrHook);

const spinner = new Spinner({ name: "dots" }, manager);

spinner.start("Loading...");
await doSomething();
spinner.succeed("Done!");

Next Steps

Support

Contribute to our work and keep us going

Community is the heart of open source. The success of our packages wouldn't be possible without the incredible contributions of users, testers, and developers who collaborate with us every day.Want to get involved? Here are some tips on how you can make a meaningful impact on our open source projects.

Ready to help us out?

Be sure to check out the package's contribution guidelines first. They'll walk you through the process on how to properly submit an issue or pull request to our repositories.

Submit a pull request

Found something to improve? Fork the repo, make your changes, and open a PR. We review every contribution and provide feedback to help you get merged.

Good first issues

Simple issues suited for people new to open source development, and often a good place to start working on a package.
View good first issues