Skip to content
caliper ui docs

Pro

Webhook manager

Endpoints with their event subscriptions and recent deliveries.

Pro
pnpm dlx shadcn@latest add @caliper/webhook-manager

Billing webhooks

Events sent to Northwind’s servers · 1 endpoint is failing

Endpoints

https://api.northwind.co/hooks/billing

invoice.paidinvoice.failed

Recent deliveries

  • 200142 ms · attempt 1 · 1 min ago
  • 200188 ms · attempt 1 · 2 hours ago

Installs components/ui/webhook-manager.tsxDepends on @radix-ui/react-slot, lucide-reactMotion none in component source

When to use

Use it for

  • Developers set up and debug webhooks.
  • Failed deliveries can be retried.

Skip it when

  • There are no events to subscribe to.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/webhook-manager

Adds its 9 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

Usage

Import it from your copy of the source. The example behind the preview comes with the source.

example.tsx
import { WebhookManager } from "@/components/ui/webhook-manager"

The worked example comes with Pro

The 55-line example behind the preview opens here, ready to copy.

  • 626 Pro parts, blocks and page templates, all with source
  • $149 once, with lifetime updates. No renewal
  • A full refund within 14 days if it is not for you
Checking your licence…

API reference

WebhookManager

component
PropTypeDefaultDescription
endpoints *readonly Webhook[]—
events *readonly string[]—Every event type that can be subscribed to.
deliveries *readonly WebhookDelivery[]—
onAdd *(url: string, events: string[]) => void—
onToggle *(id: string, enabled: boolean) => void—
onDelete *(id: string) => void—
onTest *(id: string) => void | Promise<void>—
onRetry *(deliveryId: string) => void | Promise<void>—
classNamestring—

Accessibility

It exposes status semantics, with aria-label, aria-expanded, aria-hidden, aria-invalid, aria-describedby and aria-pressed kept in step with state. Changes that matter are announced through a live region.

No custom key handling; Tab and the native activation keys do the work.

Motion

It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.

All Developer tools examples