Saurabh

Image Generation

AI chats 12

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

    374
  • BeUI Expandable Tabs

    BeUI Expandable Tabs

    351
  • BeUI File Upload

    BeUI File Upload

    296
  • BeUI Bouncy Accordion

    BeUI Bouncy Accordion

    206
  • Animated Sidebar

    Animated Sidebar

    202
  • BeUI Create Menu

    BeUI Create Menu

    199
  • BeUI Expanable Action Bar

    BeUI Expanable Action Bar

    194
  • Loader

    Loader

    188

More in AI chats

View all
  • AI Actions

    AI Actions

    326
  • Agent Chat

    Agent Chat

    18
  • Message Thread

    Message Thread

    45
  • System Message

    System Message

    58
  • Attachments

    Attachments

    22
  • Color Picker

    Color Picker

    110
  • Environment Variables

    Environment Variables

    14
  • AI Diff

    AI Diff

    74