# Button with status dot badge

> Button with status dot badge

A shadcn/ui block from the [@reui](https://reui.io) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/reui/c-button-46).

- Page, with a live preview: https://shadcn.exchange/r/reui/c-button-46
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/c-button-46-light-98e2f46ba393c018.png
- Registry item: https://reui.io/r/new-york-v4/c-button-46.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://reui.io/r/new-york-v4/c-button-46.json
```

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

## Dependencies

- Registry items: `button`

## Files

### `c-button-46.tsx`

```tsx
import { Button } from "@/components/ui/button"

export function Pattern() {
  return (
    <Button
      variant="outline"
      className="relative pr-8"
      aria-label="Deploy (ready)"
    >
      Live
      <span
        aria-hidden="true"
        className="absolute top-1/2 right-3 -translate-y-1/2"
      >
        <span className="relative flex size-2 rounded-full bg-emerald-500 before:absolute before:inset-0 before:animate-ping before:rounded-full before:bg-emerald-400 before:opacity-75 before:duration-1500 after:absolute after:inset-0 after:animate-ping after:rounded-full after:bg-emerald-400 after:opacity-40 after:delay-500 after:duration-1500" />
      </span>
    </Button>
  )
}
```
