Ruixen Pro is now live.50+ premium components, templates, blocks, and lifetime updates.

Command Palette

Search for a command to run...

Docs
Badge Morph

Badge Morph

A Dynamic Island-inspired morphing status pill with spring physics, SVG path drawing, and radiant glow transitions.

Installation

Usage

import BadgeMorph from "@/components/ruixen/badge-morph";
 
export default function DeployStatus() {
  const [status, setStatus] = useState<
    "idle" | "loading" | "success" | "error"
  >("idle");
 
  return <BadgeMorph status={status} />;
}

Props

PropTypeDefaultDescription
status"idle" | "loading" | "success" | "error"-The current status state (required)
labelstring-Override the default label for the current status
classNamestring-Additional CSS classes

Status States

StatusDefault LabelIconGlowAnimation
idleReadyBreathing dotNoneSubtle pulse
loadingDeployingArc spinnerBlueContinuous rotation
successLiveCheckmarkGreenSVG path draw + scale pulse
errorFailedX markRedSVG path draw