About
A flex layout wrapper that arranges children in a wrapping row with vertical centering and a numeric 4px-scale gap, useful for tags, buttons and meta rows.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Cluster to your project and fits it to your theme.
Code
How Cluster is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Cluster } from "@/components/ui/cluster";
export default function ClusterDemo() {
return (
<Cluster gap={2}>
<span className="rounded-md border border-border px-2 py-1 text-xs">
One
</span>
<span className="rounded-md border border-border px-2 py-1 text-xs">
Two
</span>
<span className="rounded-md border border-border px-2 py-1 text-xs">
Three
</span>
</Cluster>
);
}







