MorphingInfinity is an animated line icon that cycles through circle and
infinity forms. It is a good fit for AI replies, drafting flows, planning states,
and any interface where the wait state should feel deliberate instead of
generic.
Installation
Usage
import { MorphingInfinity } from "@/components/loading-ui/morphing-infinity";<MorphingInfinity />Customization
MorphingInfinity is an SVG with a morphing path stroke. Use className and
size-* utilities to scale it inline, and inherit currentColor from the
surrounding text or foreground utilities.
Compact
Use a smaller size-* when the icon appears inside dense assistant panels,
toolbars, or inline status rows.
Examples
These examples place the morphing infinity in assistant-oriented surfaces where a compact loading indicator needs to remain visible without becoming a full-page loader.
Alert
Alerts can pair the icon with one concise line about the work in progress.
Card
Cards keep the state attached to a specific assistant workspace or processing panel.
Tabs
Tabs work well when generated content and supporting material resolve at different moments.
Assembling a structured answer from the current workspace context.