Elements

Search

Search components and documentation

Metric panel

Dashboard card that names its source, fails without blanking, and collapses on a phone

npx shadcn@latest add https://ethankd.com/r/metric-panel.json

Sample metric

One sentence on what the reader should take away.

Last 28 days

1,284

Sample data

Sample source

Failed, with a retained pull

Source unavailable, showing the last successful pull from 5h ago. The upstream request timed out.

1,284

Sample data

Sample source

Failed, with nothing to fall back on

Source unavailable. No successful pull has been recorded yet.

Sample source

Playground

Sample metric

One sentence on what the reader should take away.

Last 28 days

1,284

Sample data

Sample source