Image Generation Loader
A streaming image surface with live progress, a playable Snake diversion, and an in-place completed result.
Loading component preview…
Installation
Add the component source directly to your project.
pnpm dlx shadcn@latest add https://pastaui.com/r/image-generation-loader.jsonAPI reference
Image Generation Loader
| Prop | Type | Default | Description |
|---|---|---|---|
status | complete | generating | queued | complete | Sets the generation state. |
progress | number | 0 | Displays refinement progress. |
imageUrl | string | — | Displays the completed image. |
playable | boolean | true | Lets people open Snake while generation is in progress. |
onEdit | () => void | — | Handles the completed-image edit action. |