Sign In

@status-ink/react

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/react

React bindings for animated status and progress text.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
4
100%
Maintainers
1
Weekly downloads
 
Created
Source

@status-ink/react

React component and hook for animated status and progress text.

npm install @status-ink/react
import { StatusInk } from '@status-ink/react';
import '@status-ink/react/style.css';

export function LoadingStatus({ status }: { status: string }) {
  return <StatusInk ariaLive="polite" status={status} />;
}

Use autonomous fallback statuses when your application has no real progress updates yet:

import { StatusInk } from '@status-ink/react';

export function FallbackStatus() {
  return <StatusInk holdMs={2000} statuses={['Loading', 'Indexing', 'Ready']} />;
}

Use useStatusInk(...) when you want to own the markup. The hook and component stop their active runner when the owning React tree unmounts.

Reduced motion defaults to auto and follows prefers-reduced-motion. It preserves status changes while disabling effects and shimmer. Pass reducedMotion={true} or false to override it, and shimmer={false} to disable shimmer independently. Status text is quiet to assistive technology by default; opt into ariaLive="polite" or "assertive" only for meaningful announcements.

Open the React 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