For iOS & AndroidOffline by default
Open every artifact.
Nothing leaves unless you let it.
ArtifactCase renders the React components, HTML pages, SVGs, Mermaid diagrams, Markdown and code your AI assistant hands you, right on your phone, with the network off until you turn it on for one file.
- Formats
- 6
- Network
- SealedLive
- Accounts
- 0
- Analytics
- 0
- Libraries
- 16 bundled
import React, { useState } from 'react';
const data = [
{ m: 'Jan', v: 4200 }, { m: 'Feb', v: 5800 },
{ m: 'Mar', v: 7200 }, { m: 'Apr', v: 6100 },
{ m: 'May', v: 9400 }, { m: 'Jun', v: 8300 },
];
export default function SalesChart() {
const [active, setActive] = useState(4);
const max = Math.max(...data.map(d => d.v));
const total = data.reduce((a, d) => a + d.v, 0);
return (
<section className="p-5 bg-slate-950 text-white">
<p className="text-xs text-slate-400">Monthly Sales</p>
<h2 className="text-3xl font-bold">
${(total / 1000).toFixed(1)}k
</h2>
<div className="grid grid-cols-6 gap-2 h-36">
{data.map((d, i) => (
<button key={d.m} onClick={() => setActive(i)}>
<span data-pct={Math.round(d.v / max * 100)} />
</button>
))}
</div>
</section>
);
}Hello from HTML
Rendered offline — the Tailwind CDN was rewritten to a local copy.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-slate-900 text-slate-100 flex items-center justify-center h-screen">
<div class="text-center px-6 max-w-md">
<h1 class="text-4xl font-bold mb-2">Hello from HTML</h1>
<p class="text-slate-400">Rendered offline — the Tailwind CDN was rewritten to a local copy.</p>
</div>
</body>
</html><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">
<defs>
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#6366f1"/>
<stop offset="1" stop-color="#ec4899"/>
</linearGradient>
</defs>
<circle cx="100" cy="100" r="80" fill="url(#g)"/>
</svg>flowchart TD
A[AI Assistant] -->|creates| B(Artifact)
B --> C{Type?}
C -->|React| D[JSX Shell]
C -->|Mermaid| E[Mermaid Shell]
C -->|Markdown| F[Native Renderer]Markdown Artifact
This renders natively with bold, italic, and inline code.
Features
- Bullet lists
- Links
- Tables and code blocks
| Type | Renderer |
|---|---|
| React | WebView |
| Markdown | Native |
console.log('fenced code block');
Blockquotes too.
# Markdown Artifact
This renders natively with **bold**, *italic*, and `inline code`.
## Features
- Bullet lists
- [Links](https://example.com)
- Tables and code blocks
| Type | Renderer |
|------|----------|
| React | WebView |
| Markdown | Native |
```js
console.log('fenced code block');
```
> Blockquotes too.function quicksort(arr) {
if (arr.length <= 1) return arr;
const [pivot, ...rest] = arr;
const left = rest.filter((x) => x < pivot);
const right = rest.filter((x) => x >= pivot);
return [...quicksort(left), pivot, ...quicksort(right)];
}
console.log(quicksort([5, 3, 8, 1, 9, 2]));- Type
- JSX · React component
- Renderer
- Babel on device · React 18
- Network
- OFFONRELOADING…
- Sample
- Sales Chart (React)
02 / Formats
Six formats. One viewer that takes each one seriously.
No browser tabs, no paste-bins, no hoping a CDN is up. Each type gets the renderer it needs, on the phone.
JSX that actually runs
Babel compiles components on the device, React 18 runs them, Tailwind is built in. useState works. So does Framer Motion.
Errors you can act on
When a component breaks, the overlay shows the failing source line and a one-tap Copy error, ready to paste back to the assistant.
Folders, tags, favorites
Smart collections sort by type on their own. Pin folders to a filter strip you can reorder. Titles and tags are suggested on import.
Per-artifact controls
Zoom, JavaScript and Network are remembered for each artifact. One trusted page can go online while the rest stay sealed.
Get it back out
Export the file, copy the source, snapshot to PDF or image, or back up the whole library as a .zip.
State that sticks
Artifacts that save with window.storage keep their data on the phone (up to 10 MB). A tracker you built yesterday still remembers today.
Deep links · Home Screen Quick Actions · Siri App Intents
03 / Import
However it reaches your phone, it lands in the case.
Paste it, share it, drop in a ZIP, point at a folder, or start from a template. Only Import from Link goes online, and only when you tap it.
Paste from Clipboard
Detects the type, saves it and opens it in one tap. Rename or Undo from the toast.
Share Sheet
Send text or one file from any app. Web links aren't accepted, so paste the page's code instead.
Watched folder
Choose a folder in Files. Artifacts you drop there import on their own.
- .html
- .htm
- .jsx
- .tsx
- .svg
- .mmd
- .mermaid
- .md
- .markdown
- .txt
- .js
- .mjs
- .ts
- .json
- .css
- .py
- .sh
- .sql
- .yaml
- .yml
- .xml
- .csv
- .zip
04 / Sandbox
Sealed until you say otherwise.
Every artifact opens behind an injected content security policy. Inline and bundled code runs. Anything headed for the internet doesn't, until you flip one switch for one artifact.
Anything headed for the internet is blocked. Bundled libraries still load.
default-src 'self' data: blob: file: about: 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval'
connect-src data: blob:
frame-src about: blob:
worker-src blob:
object-src 'none'
base-uri 'none'
form-action 'none'
No policy injected. This artifact's own requests can reach the internet. The servers it contacts aren't ours.
- LOAD
bundled reactAllowedbundled on device - FETCH
https://api.example.com/dataBlockedconnect-src - IMG
https://images.example.com/cover.jpgBlockeddefault-src - SCRIPT
https://cdn.example.com/confetti.jsBlockeddefault-src - LAN FETCH
http://192.168.1.40/lightsBlockedLocal devices off - LAN FETCH
http://203.0.113.9/BlockedLocal devices off - NOTIFY
"Stand-up in 10 min"Blockedoff for this artifact
05 / Runtime
Bundled, not fetched.
The libraries AI-written code reaches for ship inside the app. import { LineChart } from 'recharts' resolves on your phone: on a plane, in a basement, in airplane mode.
Hover or focus a library to see it resolve.resolved · bundled · 0 requests
06 / Library search
Search the source, not just the titles.
Full-text search covers titles, tags and every line of source, on the device. Find a dashboard by the chart it uses, or a panel by the address it talks to.
12 of 12 artifacts
No matchesSearch looks inside source too. Try useState.
SQLite FTS5 · on device
07 / Pricing
Free to keep five. Pay once to keep everything.
No subscription and no account. Pro is a single in-app purchase that your family can share.
Free
Up to 5 artifacts. The bundled samples don't count.
One purchase.
Unlimited artifacts, Pure Black, source editing and version history, plus artifact Notifications and Local Devices access. No subscription. Family Sharing on.
| Feature | Free | Pro |
|---|---|---|
| Artifacts | Up to 5, plus samples | Unlimited |
| All six formats, offline viewing, sandbox controls | Included | Included |
| Folders, tags, favorites, smart collections | Included | Included |
| Full-text search | Included | Included |
| Import: files, ZIP, folders, link, Share Sheet, watched folder | Included | Included |
| Export: file, PDF or image, .zip backup | Included | Included |
| View, find and copy source | Included | Included |
| Appearance | System, Light, Dark | + Pure Black |
| Edit source, with version history | Not included | Included |
| Artifact Notifications (local only) | Not included | Included |
| Local Devices access | Not included | Included |
08 / Start
Three taps to your first artifact.
- 01
Open Settings → Load sample artifacts to get one of each type.
- 02
Tap + in the Library.
- 03
Paste from Clipboard, or Choose File for anything up to 10 MB.
09 / FAQ
Straight answers.
Does it need an internet connection?
Not to view anything. At launch the app asks Apple whether Pro is unlocked; Apple handles that check and nothing reaches us. Beyond that it goes online only for Import from Link, for artifacts you give Network access, and when you open a web link.
Why does an imported page look incomplete?
It's probably asking for images, fonts or scripts from the web, which the sandbox blocks by default. Turn on Network access for that one artifact and the preview reloads. Leave it off for pages you don't trust.
What happens at five artifacts?
Adding a sixth opens the Pro sheet. Your draft is kept, so you can retry after unlocking. Samples never count, and a library that was already bigger keeps everything.
Is Pro a subscription?
No. It's one in-app purchase on iOS with Family Sharing. Restore it from Settings on any of your devices.
Can an artifact reach my smart-home gear or send me alerts?
Only with Pro, only when you turn it on for that artifact, and both start off. Local Devices only reaches private addresses (10.x, 172.16–31.x, 192.168.x, .local). Notifications are local and scheduled on your device, with no push server, a limit of 16 per artifact and 64 in total, and a screen in Settings to review or cancel them.
Which files can I import?
22 file types: .html, .htm, .jsx, .tsx, .svg, .mmd, .mermaid, .md, .markdown, .txt, .js, .mjs, .ts, .json, .css, .py, .sh, .sql, .yaml, .yml, .xml and .csv, up to 10 MB each, plus ZIP projects up to 200 files / 25 MB unpacked.
Where does my library live?
In an on-device SQLite database and the app's private storage. Other apps can't read it. Deleting the app deletes it, so export a .zip backup first.
Which platforms are supported?
ArtifactCase is built for iOS and Android. iOS launches first on the App Store, with Android and iPad support following.
Still stuck? Email hi@maulik.co or read the support page.