🟠 Colored circles that can pulse
https://status-indicator.webcomponent.io
| .husky | ||
| src | ||
| .gitignore | ||
| index.html | ||
| LICENSE | ||
| package.json | ||
| pico.min.css | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| screenshot.png | ||
| vite-lib.config.ts | ||
<status-indicator> web component
Circles with colors. That's it. That's the component.
Quick Start
Copy the following on your HTML page:
<script type="module" src="https://esm.sh/@ayo-run/status-indicator"></script>
<status-indicator status="positive">All systems operational</status-indicator>
Installation
# using npm
npm install @ayo-run/status-indicator
# or using pnpm
pnpm add @ayo-run/status-indicator
Usage
Set the status property of the status-indicator component to any of the following: positive, negative, active, intermediary.
<status-indicator status="positive"> All systems operational </status-indicator>
<status-indicator status="negative"> Something's wrong </status-indicator>
<status-indicator status="active"> It's just fine; carry on </status-indicator>
<status-indicator> Nothing matters </status-indicator>
<status-indicator status="intermediary"> Slow down... </status-indicator>
Result
A project by Ayo
