Skip to main content

What is Artifactuse?

Artifactuse is a lightweight SDK that transforms AI-generated content into rich, interactive artifacts. Support for code previews, video editors, canvas/whiteboards, forms, social media previews, and more.
Try it now — explore all artifact types in the live demo.

Features

  • 🎨 Rich Content Detection - Automatically detect and render code blocks, images, videos, maps, embeds
  • 📦 Artifact Cards - Beautiful inline cards for panel artifacts
  • 👁️ Inline Code Preview - Truncated syntax-highlighted code previews with click-to-open
  • 🖼️ Media Lightbox - Click images and PDFs to view fullscreen with zoom and download
  • 🖥️ Panel Viewer - Side panel with preview, code view, and split mode
  • 📝 Interactive Forms - Inline and panel forms with 17+ field types
  • 📱 Social Previews - Platform-accurate previews for Twitter, LinkedIn, Instagram
  • 🌗 Theme Support - Dark/light mode with customizable colors
  • 🔌 Framework Agnostic - Works with Vue 3, Vue 2, React, Svelte, or vanilla JS
  • 📡 Event System - Hook into AI requests, form submissions, exports

Packages

Artifact Types

Panel Artifacts

Open in side panel with preview and code view:

Canvas

Graphics, banners, logos

Video

Intros, animations

Code Runtime

JS & Python execution

HTML

Web pages

React

Components

Vue

SFCs

JSON

Preview

Diff

Side-by-side & smart diff

SVG

Preview

Inline Artifacts

Render directly in the message:

Forms

Quick inputs, buttons

Social

7 platform previews

Images

Auto-detected with lightbox

Videos

YouTube, Vimeo, Loom

Maps

Google Maps, OpenStreetMap

Embeds

Figma, CodePen, 20+ more

How It Works

Framework Support