# Destructive pair

> Cancel + Delete spaced action pair.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/button-25).

- Page, with a live preview: https://shadcn.exchange/r/flx/button-25
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/button-25-light-e48204b2027d474e.png
- Registry item: https://ui.flexnative.com/r/button-25.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/button-25.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `lucide-react`
- Registry items: `button`

## Files

### `registry/patterns/button/button-25.tsx`

```tsx
import { Trash2Icon } from 'lucide-react'

import { Button } from '@/components/ui/button'

export function Button25() {
  return (
    <div className="flex items-center gap-2">
      <Button variant="outline">Cancel</Button>
      <Button variant="destructive">
        <Trash2Icon data-icon="inline-start" />
        Delete
      </Button>
    </div>
  )
}
```
