getting started

March 10, 2026 ยท View on GitHub

A starter project with react native and storybook

picture of storybook

getting started

To get all the dependencies run

yarn install

for iOS

cd ios
pod install

To run on the web with addon-react-native-web use:

yarn storybook:web

To run storybook on ios or android using metro (this starts the metro server with storybook enabled)

yarn storybook

then to build for ios or android in another terminal run

yarn storybook:ios

or

yarn storybook:android

To update the stories one time, this happens once automatically when metro starts and withStorybook is enabled.

yarn storybook-generate

navigate to a story with deep link example npx uri-scheme open "rnstorybook-starter:///storybook?STORYBOOK_STORY_ID=button--secondary" --android --ios