mmrahmanbappi

Error Message with Retry

AI chats

About

A chat bubble that shows a failed AI reply with a Retry button, which spins while retrying and then reveals the successful answer; ported from the original HTML by MM Rahman Bappi.

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

Code

How Error Message with Retry is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ErrorRetry from "@/components/ui/error-retry";

export default function ErrorRetryDemo() {
  return (
    <div className="flex min-h-[480px] w-full items-center justify-center p-6">
      <ErrorRetry />
    </div>
  );
}

More by mmrahmanbappi

View all
  • Web Search Indicator

    Web Search Indicator

    23
  • Prompt with Model Picker

    Prompt with Model Picker

    5
  • Audio Answer Player

    Audio Answer Player

    2
  • Editable Task Plan

    Editable Task Plan

    1
  • Status Spinner

    Status Spinner

    1
  • Thumbs Down with Reasons

    Thumbs Down with Reasons

  • Advanced Parameters Panel

    Advanced Parameters Panel

  • Code Block with Copy Button

    Code Block with Copy Button

More in AI chats

View all
  • AI Actions

    AI Actions

    361
  • Aquarium Prompt

    Aquarium Prompt

    158
  • Color Picker

    Color Picker

    224
  • AI Task List

    AI Task List

    198
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    2
  • AI Orb

    AI Orb

    211
  • Message

    Message

    53
  • Commit

    Commit

    43