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
  • Icon Button

    Icon Button

    14
  • Background Boxes

    Background Boxes

    12
  • Chip Filter

    Chip Filter

    8
  • Typing Text

    Typing Text

    7
  • Treemap Chart

    Treemap Chart

    6
  • File Dropzone

    File Dropzone

    5
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    659
  • Analytics Dashboard

    Analytics Dashboard

    59
  • Creator Dashboard

    Creator Dashboard

    208
  • Insights Dashboard

    Insights Dashboard

    35
  • serf dashboard

    serf dashboard

    137
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    293
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Business/Sales Dashboard

    Business/Sales Dashboard

    1.5K