SShinUI

Status Badge

Presence pill with a ping animation for online, away, busy and offline states. Hides the ping under reduced motion.

statuspresencebadgelive
LiveAwayIn a callOffline

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { StatusBadge } from "@/registry/components/status-badge";

export function Example() {
  return <StatusBadge />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge

More in Libraries