Setup React Native Storybook
Step-by-step setup for Storybook in Expo, Expo Router, React Native CLI, or Re.Pack projects.
- CCM score
- 75 of 100
- skills.sh installs
- 571
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers four flows selected by project type: Expo, Expo Router, plain React Native CLI, and Re.Pack with rspack or webpack
- Walks through
create storybookinit, WebSocket enablement in.rnstorybook/index.tsx, and story glob updates inmain.ts - Configures the bundler with
withStorybookfor Metro orStorybookPluginfor Re.Pack, withenabledflags to strip Storybook from release builds - Designed for React Native projects adding
@storybook/react-nativev10 and detecting npm, yarn, pnpm, or bun lockfiles
Install
$ npx -y skills add storybookjs/react-native --skill setup-react-native-storybook -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
React Native Storybook Setup
Add @storybook/react-native v10 to a React Native project.
Important: Detect the project's package manager (look for yarn.lock, pnpm-lock.yaml, or bun.lockb) and use it for all install/run commands instead of npm. The examples below use npm but substitute accordingly (e.g. yarn add instead of npm install, yarn storybook instead of npm run storybook). For Expo projects, use npx expo install (or bunx expo install, etc.) to install dependencies so Expo can resolve compatible versions.
For the init command, use <pm> create storybook with the flags shown below. Only npm needs -- before the flags. Never use npx/bunx etc for this.
Four setup flows based on project type:
- Expo (no router) - see references/expo-setup.md
- Expo with Expo Router - see references/expo-router-setup.md
- React Native CLI (no Expo) - see references/react-native-cli-setup.md
- Re.Pack (rspack/webpack) - see references/repack-setup.md
Flow Selection
Details
- Repository
- github.com/storybookjs/react-native
- Categories
- Mobile Apps, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the setup-react-native-storybook skill do?
setup-react-native-storybook adds Storybook for React Native v10 to an Expo, Expo Router, React Native CLI or Re.Pack project. It creates the .rnstorybook configuration files, wraps metro.config.js with withStorybook or adds the StorybookPlugin to a Re.Pack rspack or webpack config, and sets up the Storybook entrypoint.
How do I install the setup-react-native-storybook skill?
Run npx -y skills add storybookjs/react-native --skill setup-react-native-storybook -y in your project to install the setup-react-native-storybook skill. After that, your agent can use setup-react-native-storybook to add Storybook to the project.
Which React Native project types does setup-react-native-storybook support?
setup-react-native-storybook covers four flows: Expo without a router, Expo with Expo Router, plain React Native CLI without Expo, and Re.Pack with rspack or webpack. It picks the flow from the project files, such as an app directory with _layout.tsx for Expo Router or a rspack.config for Re.Pack.
Where does setup-react-native-storybook fit in the Mobile Apps category?
setup-react-native-storybook sits in the Mobile Apps category on Claude Marketplaces. It focuses on wiring Storybook into an existing React Native project, including WebSocket support for the Storybook web companion, while vercel-react-native-skills and animate-expo lead the category for other mobile tasks.
More from storybookjs/react-native
All 2Similar to Setup React Native Storybook
More Mobile Appsreact-native-storybookPluginstorybookjs/react-native1.3K starsCreate and edit React Native Storybook stories using Component Story Format (CSF). Includes controls reference, addon configuration, and portable story patterns
writing-react-native-storybook-storiesSkillstorybookjs/react-native734 installsWrite React Native Storybook stories in CSF with controls, actions, decorators, and parameters.
react-native-expoSkillhairyf/skills323 installsBuild and maintain React Native apps with Expo SDK, EAS Build, EAS Update, and config-driven native generation.
expo-react-native-typescriptSkillmindrally/skills2.3K installsExpert guidance for Expo and React Native TypeScript apps covering structure, UI, state, and testing.
sentry-react-native-sdkSkillgetsentry/sentry-for-ai4.3K installsFull Sentry SDK setup wizard for React Native and Expo covering errors, tracing, replay, and logging.
react-native-best-practicesSkillsoftware-mansion-labs/skills6.1K installsExpert New Architecture guidance for React Native and Expo apps covering animations, gestures, audio, and threading.