🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@status-ink/core

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@status-ink/core

Framework-free primitives for animated status and progress text.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@status-ink/core

Framework-free primitives for animated status and progress text.

npm install @status-ink/core

Controlled status

import { startStatusTransition } from '@status-ink/core';

const transition = startStatusTransition({ status: 'Queued' });
const unsubscribe = transition.subscribe((display) => console.log(display));

transition.update('Running');
transition.update('Complete');

unsubscribe();
transition.stop();
await transition.done;

Set initial: 'enter' to animate the first status. Newer updates cancel stale frames instead of queueing them.

Autonomous fallback

import { startStatusAnimator } from '@status-ink/core';

const animator = startStatusAnimator({
  statuses: ['Loading', 'Indexing', 'Rendering'],
  holdMs: 2500,
  reducedMotion: false,
});
const unsubscribe = animator.subscribe((display) => console.log(display));

unsubscribe();
animator.stop();
await animator.done;

Status labels are caller-owned. Built-in effects are available as named imports and through the ordered effects array. speed changes effect playback; it does not change holdMs.

Open the core example in StackBlitz

Documentation · Live demo · Issues · npm

Keywords

animation

FAQs

Package last updated on 12 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts