React Playground
Multi-file React playground with hot reload and npm packages.
import React, { useState } from 'react'; export default function App() { const [n, setN] = useState(0); return ( <div style={{ fontFamily: 'system-ui', padding: 24 }}> <h1>Hello React 18</h1> <p>Count: {n}</p> <button onClick={() => setN(n + 1)}>Add one</button> </div> ); }
About this playground
Build and share React components instantly. Supports JSX, hooks, multiple files, and importing any npm package via CDN.
Related Playground Tools
Explore more free utilities in Playground
HTML / CSS / JS Playground
Live HTML, CSS and JavaScript editor with console capture and share-by-URL.
Open
JavaScript Playground
A focused JS-only REPL with console capture, async/await, fetch and share-by-URL.
Open
Markdown Playground
Live GitHub-flavored Markdown editor with preview, copy and download.
Open
TypeScript Playground
Edit, type-check and run TypeScript entirely in your browser.
Open
Vue Playground
Vue 3 single-file-style playground with composition API.
Open
Svelte Playground
Compile and run Svelte components live in your browser.
Open