Ballmac UI home

Matrix 1: service health by region

Service health by region: 30-day availability for every service in every region as a heat grid, each cell good, warning or problem in words and an icon, what is below the line listed, the last incident per cell and a team filter.

State

The normal view. Pick a state to see what the block shows while it loads, is empty or fails.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/matrix-1

Usage

Example: matrix-1-demo.tsx
"use client"

import { Matrix1 } from "@/components/ballmac/blocks/matrix-1/matrix-1"

export default function Matrix1Demo() {
  return <Matrix1 onOpenRunbook={() => {}} />
}

States

Pass state and the block does the rest: skeletons that match its layout, a clear empty message, an error you can retry, and announcements for screen readers.

  • Loading

    Skeleton for the grid and the detail under the real heading, announced as loading.

    state="loading"
  • No services yet

    Says no services yet; emptyState sets the copy.

    state="empty"
  • Could not load

    An alert saying nothing was changed, with Try again (onRetry).

    state="error"

Dependencies

Use with AI

Service health by region. <Matrix1 services={[{ id, name, team }]} regions={[{ id, label }]} availability={[[99.99, 99.8, null], ...]} incidents={{ 'pay:eu': { when, summary } }} goodFrom={99.9} warnBelow={99} onOpenRunbook={(serviceId, regionId) => void} />. Built on heat-grid with tone. Cells at or above goodFrom are good, below warnBelow are problems; null means the service does not run there. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Matrix 1: service health by region (@ballmac/matrix-1) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • A reliability overview across services and regions
  • A status board for an engineering team

Not for

  • A public status page; use status-1
  • Error budgets over time; use slo-1

Registry JSON: https://ui.ballmac.com/r/matrix-1.json

Free to use in personal and commercial projects.

Ballmac UI Pro

Need the whole screen, not one piece?

150 premium blocks (dashboards, settings, calendars, mail, shops, onboarding), a private shadcn registry and Figma tokens. Blocks that show data come with loading, empty and error states built in.

Not ready? Try three Pro blocks free

Leave your email and the blocks appear right here, ready to copy. Yours to use in any project.