About
A small dot-matrix loading indicator whose triangular arrangement of dots implodes toward its center, for use as an inline loading/spinner state in buttons, cards, or async views.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Triangle Collapse Core Loader to your project and fits it to your theme.
Code
How Triangle Collapse Core Loader is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TriangleCollapseCoreLoader } from "@/components/ui/triangle-collapse-core-loader";
export default function TriangleCollapseCoreLoaderDemo() {
return (
<div className="flex min-h-[50vh] w-full items-center justify-center">
<TriangleCollapseCoreLoader
dotSize={5}
gap={4}
speed={1.2}
color="currentColor"
/>
</div>
);
}








