Ballmac UI home

Claims 1: claim tracker

An insurance claim tracker: each claim and its stage in words, a line of five stages that stops at the decision when a claim is declined, and the things still needed from the customer with a place to answer each.

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/claims-1

Usage

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

import { Claims1 } from "@/components/ballmac/blocks/claims-1/claims-1"

export default function Claims1Demo() {
  return <Claims1 />
}

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 list and detail under the real heading, announced as loading.

    state="loading"
  • No claims yet

    Says no claims yet; emptyState sets the copy.

    state="empty"
  • Could not load

    An alert saying nothing was changed, with Try again (onRetry). An answer that fails to send stays in the box and says why.

    state="error"

Dependencies

Use with AI

Claim tracker. <Claims1 claims={[{ id, number, title, stage: 'Received'|'In review'|'Assessed'|'Decided'|'Paid', declined?, amount, updated, requests?: [{ id, text, answer? }] }]} currency='USD' onAnswer={(claimId, requestId, answer) => Promise} />. A declined claim stops at Decided and later stages are written as not reached. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Claims 1: claim tracker (@ballmac/claims-1) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • A customer portal for insurance, warranty or returns
  • Any case with stages and requests for information

Not for

  • An internal case queue; use tickets-1
  • A single order's tracking; use status-1

Registry JSON: https://ui.ballmac.com/r/claims-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.