Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Webhook Log

ProNew

A webhook's deliveries with status, event, attempt and timing. A row opens in place to show the request and the response, each with a copy button, and a failed delivery can be sent again.

Installation

pnpm dlx shadcn@latest add @viewport/webhook-log

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
deliveries*Delivery[]—
onResend(id: string) => void | Promise<void>

Sends a delivery again. Return a promise to show progress until it settles.

—
classNamestring—

Accessibility

  • Each row is a button with aria-expanded; the closed detail is inert.
  • Failed is a word as well as a color, and a status of none reads as “No reply”.
  • “Failed only” is a toggle with a pressed state, and the count is announced.
  • Payloads are focusable so they can be scrolled from the keyboard.