Magoo Component UI logo Magoo Component UI
← Catalog

Image Generation Card

image-generation-card molecule experimental

A card for a single AI-generated image - the picture, its prompt, model and size, and quick actions.

Also in: Cards

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default
A neon-lit city street in the rain at night, cinematic, shallow depth of field, 35mm

A neon-lit city street in the rain at night, cinematic, shallow depth of field, 35mm

Imagen 3 1024x1024
Workspace
A bright minimalist desk workspace with a laptop and a small plant, soft morning light

A bright minimalist desk workspace with a laptop and a small plant, soft morning light

DALL-E 3 1792x1024

Props

NameTypeReq
image string ✓
prompt string ✓
model string
size string

Related components

How to use

behavior.js dispatches "image:action" on the card whenever an action button is clicked, with detail.action set to the button's data-action (download, regenerate, or variations). A host app listens for that event to perform the action. The portable self-init passes no props object.

Use cases

cardmediagrid WCAG AA SEO 30 dir: both ai-generated