amankaushik481

Uptime Bar

Dashboards

About

A status-page style bar showing one cell per day over a configurable range, colored green for operational and red for degraded days, with the overall uptime percentage.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Uptime Bar to your project and fits it to your theme.

Code

How Uptime Bar is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { UptimeBar } from "@/components/ui/uptime-bar";

export default function UptimeBarDemo() {
  return (
    <div className="w-full max-w-xl space-y-5 rounded-xl border border-border bg-surface p-4">
      <UptimeBar label="Dashboard" days={90} downtimes={[]} />
      <UptimeBar label="Payments API" days={90} downtimes={[31]} />
      <UptimeBar label="Webhooks" days={90} downtimes={[12, 13, 87]} />
    </div>
  );
}

More by amankaushik481

View all
  • Chip Filter

    Chip Filter

    7
  • Icon Button

    Icon Button

    5
  • Background Boxes

    Background Boxes

    4
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2
  • Typing Text

    Typing Text

    1
  • Treemap Chart

    Treemap Chart

    1
  • Particles

    Particles

    1

More in Dashboards

View all
  • Creator Dashboard

    Creator Dashboard

    94
  • serf dashboard

    serf dashboard

    84
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Glass Dashboard

    Glass Dashboard

    1.1K
  • Adjustable Glass Dashboard

    Adjustable Glass Dashboard

    1.2K
  • App Dashboard Layout

    App Dashboard Layout

    572
  • Sidebar

    Sidebar

    422
  • Dashboard Shell

    Dashboard Shell

    215