Framed preview for AI generated artifacts such as code, documents or UI, with a title bar, copy button and optional expand action for a full view.
npx shadcn@latest add @minidev/artifact-preview
artifact-preview