About
An iPhone-style status bar that takes itself apart to connect: the battery rounds into a ring, the signal bars ride its gap as dots, then it closes. Follows your shadcn theme in light and dark; onStatusChange drives your own connect logic. More at nexus-ui.com
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Status Morph to your project and fits it to your theme.
Code
How Status Morph is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { useState } from "react";
import { StatusMorph, type StatusMorphStatus } from "@/components/ui/status-morph";
const COPY: Record<StatusMorphStatus, string> = {
disconnected: "Tap the status bar to join the network.",
connecting: "Looking for Studio 5G…",
connected: "Online. Tap again to disconnect.",
};
export default function DefaultDemo() {
const [status, setStatus] = useState<StatusMorphStatus>("disconnected");
return (
<div className="flex min-h-screen w-full flex-col items-center justify-center gap-5 bg-background p-6">
<StatusMorph network="Studio 5G" onStatusChange={setStatus} />
<p className="text-sm text-muted-foreground" aria-live="polite">
{COPY[status]}
</p>
</div>
);
}







