Image

The Image component displays AI-generated images from base64 encoded data. It's designed to work seamlessly with the AI SDK's Experimental_GeneratedImage type and provides automatic styling with proper accessibility features.

Example generated image

Installation

pnpm dlx shadcn-svelte@latest add http://sveltekit-prerender/r/image.json