Saurabh

Image Generation

AI chats 1

About

A stable placeholder surface for AI image generation that animates through queued, generating, and refining states with a pointer-reactive dither effect before revealing the completed image without layout shift.

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

Code

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

Usage.tsx

import { ImageGeneration } from "@/components/ui/image-generation";

export default function ImageGenerationDemo() {
  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-10">
      <ImageGeneration
        status="refining"
        prompt="a calm mountain lake at dawn"
        resolution="1024 × 1024"
      >
        <img
          src="https://cdn.21st.dev/assets/mirror/51/51411488c17049c59972633c1e69e3f82156a5d78a261e31a551f86a6dd75f46.jpg"
          alt="a calm mountain lake at dawn"
        />
      </ImageGeneration>
    </div>
  );
}

Dependencies

More by Saurabh

View all
  • BeUI Tilt Card

    BeUI Tilt Card

    372
  • BeUI Expandable Tabs

    BeUI Expandable Tabs

    347
  • BeUI File Upload

    BeUI File Upload

    293
  • BeUI Bouncy Accordion

    BeUI Bouncy Accordion

    204
  • BeUI Create Menu

    BeUI Create Menu

    199
  • BeUI Expanable Action Bar

    BeUI Expanable Action Bar

    190
  • Animated Sidebar

    Animated Sidebar

    183
  • Loader

    Loader

    179

More in AI chats

View all
  • AI Actions

    AI Actions

    324
  • AI Task List

    AI Task List

    161
  • Message Thread

    Message Thread

    41
  • Color Picker

    Color Picker

    94
  • Agent Chat

    Agent Chat

    18
  • Chat Bubble

    Chat Bubble

    185
  • System Message

    System Message

    56
  • Code Block

    Code Block

    12