184 Components

Database Connection Health Badge

Cards

Prisma Accelerate and PlanetScale inspired database cluster health monitor with pooled connections gauge, regional ping latency, TLS 1.3 certificate status, and sanitized URI copying.

neon-edge-primary-01

ONLINE

PostgreSQL 16.4

Round-Trip Latency
14ms
eu-central-1 (Frankfurt)
Connection Pool
7/ 25 pooled
Transport Security
TLS 1.3 Active
Mutual TLS & VPC Isolated
postgresql://cluster_admin:••••••••@eu-central-1.boseui.db/production

Installation

Install directly into your project using the shadcn CLI or copy the source code manually.

Requires:framer-motionlucide-reactclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/database-connection-health-badge.json"

Props

TypeScript props supported by <DatabaseConnectionHealthBadge />.

4 props
PropTypeDefaultDescription
enginestring"PostgreSQL 16.4"Database engine and version string.
clusterNamestring"neon-edge-primary-01"Database cluster identifier.
activeConnectionsnumber7Currently open client connections.
maxPoolSizenumber25Maximum pool connection limit.

Key Features

  • Live connection pool capacity meter with progress bar.
  • Interactive ping test button with real-time latency fluctuations.
  • TLS 1.3 SSL transport security status indicator.
  • Copy sanitized connection URI with masked credentials.

Keyboard & Accessibility

  • High-contrast health status badges with pulsing status dots.
  • Full semantic markup with keyboard operable buttons.