TIL: Storybook's --output-dir flag produces a fully static, hostable build
You don't need to run a dev server to share a Storybook. One build command produces a static HTML/JS bundle you can deploy to any host — Netlify, GitHub Pages, S3.

When I built the Component Playground, I initially assumed that sharing a Storybook meant sharing a running dev server or a repo link. Neither is a great experience for a recruiter or a design partner. Then I found the storybook build command.
The command
The key is that Storybook can pre-render everything into a static bundle:
```bash
npx storybook build --output-dir storybook-static
```
Storybook crawls all your story files, renders every story, and outputs a fully static HTML/JS/CSS bundle to the specified directory. No server required. No Node.js required to view it.
Deploying to Netlify
You can wire this up to Netlify so every push to main publishes a fresh Storybook:
```toml