A Vue component that renders a colored status indicator dot with optional pulse animation. Current stable version is 1.2.1, released as a minor update to fix the status attribute and pulse effect. This package is a fork of the vanilla JS status-indicator adapted for Vue. It provides five built-in status colors (default, active, positive, intermediary, negative) that can be customized via CSS variables. The component is lightweight and supports both local and global registration. Release cadence is sporadic with no recent activity since 2019. Differentiators include ease of integration with Vue and simple declarative API using just 'status' and 'pulse' props.
npm install vue-status-indicatorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install, register globally, and use the StatusIndicator component with active status and pulse effect.
Use one of: 'active', 'positive', 'intermediary', 'negative', or empty string for default.
Test in target browsers; consider using a polyfill for CSS animations.
For Vue 3 use an alternative like 'vue-awesome-spinner' or write a custom component.
Use default import for Vue.use(), named import for local registration.
Register the component: import { StatusIndicator } from 'vue-status-indicator'; Vue.component('status-indicator', StatusIndicator);Use default import: import StatusIndicator from 'vue-status-indicator'; Vue.use(StatusIndicator);
Use :status="status" if it's a data property, or status="active" for literal strings.
No dependency data recorded yet.