Bring real files
Drag in HTML, CSS, JS, JSX, or TSX — multiple files per artifact, keep your structure intact.
Artifacts is a focused workbench for HTML, CSS, JS, and JSX prototypes. Drop in files, watch them run inside a sandboxed iframe, and share the exact working version with a single link.
Capabilities / 01
Four pieces that turn a folder of loose files into a working, shareable prototype.
Drag in HTML, CSS, JS, JSX, or TSX — multiple files per artifact, keep your structure intact.
The iframe refreshes as you work, with Babel-standalone transforming JSX at runtime.
Row-level security means each artifact belongs to your account until you flip sharing on.
Toggle sharing and copy a clean URL. Edit or unshare — caches invalidate immediately.
Workflow / 02
Drop your files, or paste raw code. Set an entry file when needed; everything else is referenced relatively.
The server bundles your files into one HTML document piped into an iframe via srcDoc. The sandbox attribute blocks the iframe from reaching the parent app.
Toggle the share switch on, copy the public URL, send it to anyone. They get the running version — no login required.
Trust / 03
Every artifact renders inside a sandboxed iframe with explicit permissions. It cannot reach the parent page, your cookies, or your storage. Share pages cache for one hour and invalidate the instant you edit or unshare.
<iframe srcDoc={document} sandbox="allow-scripts allow-forms allow-popups allow-modals" referrerPolicy="no-referrer" loading="lazy" />
Build / 04
Create an artifact, verify it inside the sandbox, share the exact running version. No deploy step. No build pipeline.