---
title: "StaleIndicator"
description: "Last-synced + retry."
canonical: "https://lopifi.com/components/stale-indicator"
---

# StaleIndicator

> Last-synced + retry.

Source: https://lopifi.com/components/stale-indicator
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Family:** System & states — ---
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/system-states

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/stale-indicator
```

## Specification

"Last synced 12m ago · Retry". Appears on any surface showing cached or offline data. Dims the affected values to 0.7 — wrap them in `StaleValue`, or pass `stale` to the `Card` that holds them.

The age stays relative past the hour ("3h ago", "2d ago") — unlike `AsOf`, because the age is the alarm — with the absolute stamp and its named zone on hover. The server and first paint render the date alone; the age swaps in once the client clock is available, off the shared one-interval clock.

**Stale financial data shown as current is the most dangerous state in the product.** This component makes it impossible to miss.

## Rules this component obeys

Money is minor units, never floats. `null` is not `0` and neither is redacted. Negatives render in accounting parentheses with the parenthesis column reserved on both sides. Debit and credit are two columns. Per-currency decimal places. Polarity is explicit — up is not always good. Every figure states its period, entity, currency, basis and as-of.
