klyv-ui

Save Indicator

Component

About

A small inline status readout for a form or document that shows whether changes are saved, saving, unsaved, or failed to save, with a live relative "last saved" timestamp and inline save-now/retry actions.

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

Code

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

Usage.tsx

"use client";

import { SaveIndicator } from "@/components/ui/save-indicator";

export default function SaveIndicatorSavingDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center bg-background p-8">
      <div className="w-80 rounded-xl border border-border bg-card p-4 shadow-sm">
        <p className="text-sm font-semibold text-card-foreground">
          Project settings
        </p>
        <input
          defaultValue="Q4 launch plan"
          className="mt-2 w-full rounded-lg border border-border bg-muted px-3 py-2 text-sm text-foreground"
        />
        <div className="mt-3">
          <SaveIndicator state="saving" />
        </div>
      </div>
    </div>
  );
}

More by klyv-ui

View all
  • Gantt Chart

    Gantt Chart

    56
  • Klyv Animated Beam

    Klyv Animated Beam

    47
  • Pareto Chart

    Pareto Chart

    40
  • Shader Canvas

    Shader Canvas

    35
  • Sunburst Chart

    Sunburst Chart

    23
  • Morphing Text

    Morphing Text

    21
  • Gooey Loader

    Gooey Loader

    19
  • Gravity Tags

    Gravity Tags

    17