·docs-sandpack
""

docs-sandpack

reactjs/react.dev

Use when adding interactive code examples to React docs.

8Installs·1Trend·@reactjs

Installation

$npx skills add https://github.com/reactjs/react.dev --skill docs-sandpack

SKILL.md

| `js | Main file (no prefix) | | `js src/FileName.js | Supporting files | | `js src/File.js active | Active file (reference pages) | | `js src/data.js hidden | Hidden files | | `css | CSS styles | | `json package.json | External dependencies |

function Example() { // Lines 2-4 // will be // highlighted return null; }

// 🚫 This will cause hydration warnings export default function App() { const isClient = typeof window !== 'undefined'; return {isClient ? 'Client' : 'Server'} ; }

Use when adding interactive code examples to React docs. Source: reactjs/react.dev.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/reactjs/react.dev --skill docs-sandpack
Category
""Writing
Verified
First Seen
2026-02-11
Updated
2026-02-18

Quick answers

What is docs-sandpack?

Use when adding interactive code examples to React docs. Source: reactjs/react.dev.

How do I install docs-sandpack?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/reactjs/react.dev --skill docs-sandpack Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/reactjs/react.dev