spinners
Pre-built spinner animations with frames and intervals.
Example
ts
import { Spinner } from "@monstermann/signals-tui";
const spinner = Spinner.create(Spinner.spinners.dots);
spinner.start();
const customStyled = Spinner.create({
...Spinner.spinners.dots,
style: Style.create({ fg: "blue" }),
});Available Spinners
dots,dots2,dots3,dots4,dots5,dots6,dots7,dots8,dots9,dots10,dots11,dots12,dots13,dots14- Braille patternsdotsCircle- Circular dotssand- Sand effectline,line2- Line animationsrollingLine- Rolling linepipe- Pipe segmentssimpleDots,simpleDotsScrolling- Simple dot animationsstar,star2- Star animationsflip- Flipping animationhamburger- Hamburger menugrowVertical,growHorizontal- Growing animationsballoon,balloon2- Balloon animationsnoise- Noise effectbounce,boxBounce,boxBounce2- Bouncing animationstriangle,binary- Shape animationsarc,circle,squareCorners,circleQuarters,circleHalves- Geometric shapessquish- Squish animationtoggle,toggle2-toggle13- Toggle animationsarrow,arrow2,arrow3- Arrow animationsbouncingBar,bouncingBall- Bouncing patternssmiley,monkey,hearts- Emoji animationsclock,earth- Time and world animationsmaterial- Material design progressmoon,runner,pong,shark- Theme animationsdqpb- Letter sequenceweather,christmas,grenade,point,layer,betaWave- Themed animationsfingerDance,fistBump,soccerHeader- Hand gesture animationsmindblown,speaker- Expression animationsorangePulse,bluePulse,orangeBluePulse- Pulse animationstimeTravel,aesthetic- Aesthetic animationsdwarfFortress- Complex animation