About
A list that previews what will be lost or changed by a destructive action, like deployments, domains, or team members, used inside confirm dialogs before deleting something.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Consequences List to your project and fits it to your theme.
Code
How Consequences List is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Consequences } from "@/components/ui/consequences";
export default function ConsequencesDemo() {
return (
<Consequences
title="Deleting acme-prod removes"
items={[
{ label: "Deployments", count: 128 },
{ label: "Domains", count: 4, names: ["acme.com", "www.acme.com"] },
]}
/>
);
}





