Image
Renders an AI-generated image from a base64 or URL file part.
$
Registry itembunx shadcn@latest add @nx-ui/ai-imageInstalls withai-typesutils
Generated image
Pass the `base64` and `mediaType` of a generated image; the component builds a data URL and renders it with rounded corners.
In a gallery
Because it fills the width of its container, several images tile cleanly into a responsive grid.