React component · .jsx, .tsx

Run a React component from one file

Run a React component online from a single .jsx or .tsx file. anyshare compiles it and mounts it full screen, Tailwind included, with no build step and no repo.

Drop a .jsx or .tsx file

It’s compiled and running in seconds

By uploading you agree to the Terms and Acceptable Use.

Artifacts, outside the chat

AI tools love writing a whole interface as one React file: a dashboard, a calculator, a quiz, a game. Running it normally means scaffolding a project, installing packages and starting a dev server. On anyshare, upload the file and it’s compiled and rendered live at its own address, so anyone can click around in it.

The file should default-export a component, the way Claude artifacts and most AI-generated components already do. Tailwind classes work with no setup. It’s a live page, not a screenshot: state, clicks and animations all work.

Keep it to one self-contained file. An app split across many files is a project: build it and host the output folder instead.

When it’s shared

How a shared component looks

A single-file React component, compiled and run live like an artifact, Tailwind included.

  • Compiled from one file
  • Fully interactive
  • Tailwind classes just work
  • Full screen at its own address

How to

Share a component in three steps

  1. Step 1:

    Save the component

    Copy the code from your AI tool into a file ending in .tsx or .jsx, with the component as its default export.

  2. Step 2:

    Drop it

    Drag the file onto the box above. anyshare compiles it and gives you a link to the running component.

  3. Step 3:

    Share it and iterate

    Send the link for feedback. When you change the code, publish to the same address with npx @anyshare/cli update <slug> App.tsx.

The details

What to know

  • One file, two extensions

    .jsx, .tsx files are compiled and run. TypeScript types are fine; there’s no tsconfig to write.

  • Tailwind included

    Utility classes in your JSX render styled, the way they do in artifacts, with no config file.

  • Runs on its own domain

    Each link is its own subdomain on the content domain, so a component can’t read cookies from anyshare or from other people’s links.

  • Agents can publish it directly

    An agent can send the file it just wrote through the MCP server with a name like Dashboard.tsx, without saving it first, and reply with the live link.

Other ways

Compared with the usual tools

CodeSandbox and StackBlitz
Full online editors with npm packages and multi-file projects. Better for editing code together; heavier than a link when you only want people to use the thing.
Claude artifacts
Run right inside Claude and can be shared from there. anyshare is for putting the component at its own neutral address, or for components that came from another tool. Host a Claude artifact.

FAQ

Questions, answered.

Does my component need a default export?
Yes. anyshare mounts the file’s default export full screen. export default function App() { … } is all it takes.
Can I use Tailwind classes?
Yes. Tailwind is included, so class names in your JSX are styled without any setup.
What about a component that imports other files from my project?
Only the single file is compiled. If it depends on other local files, build the app and upload the output folder as a static site.
Is this the same as a Claude artifact?
It works the same way, a single React file compiled and run live, but it lives at its own anyshare link, so it works for components from Claude, ChatGPT, Gemini, v0 or your own editor.
How long does the live component stay up?
Without an account a link lasts 1 hour; keep it with a free account and it lasts 30 days from the upload. Publish updates to the same address as often as you like until then.

Your next link is one drop away.

No signup, no setup. Drop it above and share it in seconds. Links last 1 hour; keep them 30 days with a free account.