storybookjs avatar

Writing React Native Storybook Stories

If you're building a React Native component library or design system, this skill helps Claude write Storybook stories using the latest CSF format and @storybook/react-native v10. It knows the proper TypeScript setup with Meta and StoryObj types, handles args and decorators, and understands the mobile-specific quirks of React Native Storybook. The official Storybook team maintains this, which means it stays current with their API changes. It's overkill for a quick throwaway app, but if you're documenting components for a team or shipping a library, having Claude generate properly structured stories saves the tedious boilerplate work.

skills.sh installs
715
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add storybookjs/react-native --skill writing-react-native-storybook-stories --agent claude-code

Installs into .claude/skills of the current project.

Files

React Native Storybook Stories

Write stories for React Native components using @storybook/react-native v10 and Component Story Format (CSF).

Quick Start

Minimal story file:

import type { Meta, StoryObj } from '@storybook/react-native';
import { MyComponent } from './MyComponent';

const meta = {
  component: MyComponent,
} satisfies Meta<typeof MyComponent>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Basic: Story = {
  args: {
    label: 'Hello',
  },
};

File Conventions

  • Name: ComponentName.stories.tsx colocated with the component
  • Import Meta and StoryObj from @storybook/react-native
  • Default export: meta object with satisfies Meta<typeof Component>
  • Named exports: UpperCamelCase story names, typed as StoryObj<typeof meta>
  • Use args for props, argTypes for control config, parameters for addon config
  • Use render for custom render functions, decorators for wrappers

Story Patterns

Multiple stories with shared args

export const Primary: Story = {
  args: { variant: 'primary', title: 'Click me' },
};

Sponsors

Details

Repository
github.com/storybookjs/react-native
Categories
Frontend Development, Testing & QA, Documentation, Code Review & Quality, Mobile Development, Design & UI/UX
First seen
Jun 3, 2026

More from storybookjs/react-native

All 2
1binjuhor avatarfrontend-design-probinjuhor/shadcn-larCreates jaw-dropping, production-ready frontend interfaces AND delivers perfectly matched real photos (Unsplash/Pexels direct links) OR flawless custom image-ge708skills.sh installs
2syncfusion avatarsyncfusion-react-data-managersyncfusion/react-ui-components-skillsImplements Syncfusion DataManager for local/remote binding, CRUD, querying, caching, and middleware. Supports JsonAdaptor, ODataAdaptor, ODataV4Adaptor, UrlAdap702skills.sh installs
3syncfusion avatarsyncfusion-react-buttonssyncfusion/react-ui-components-skillsComprehensive guide for implementing Syncfusion React button components including Button, ButtonGroup, DropDownButton, Floating Action Button, ProgressButton, S701skills.sh installs
4syncfusion avatarsyncfusion-react-inputssyncfusion/react-ui-components-skillsComprehensive guide for implementing Syncfusion React input components including Uploader, NumericTextBox, TextBox, TextArea, CheckBox, OTP Input, Signature, Ra697skills.sh installs
5syncfusion avatarsyncfusion-react-dropdownssyncfusion/react-ui-components-skillsComprehensive guide for implementing Syncfusion React dropdown components including AutoComplete, ComboBox, DropDownList, ListBox, Mention, MultiSelect, and Mul693skills.sh installs
6syncfusion avatarsyncfusion-react-popupssyncfusion/react-ui-components-skillsComprehensive guide for implementing Syncfusion React popup components including Dialog, ToolTip. Use this when building modal/modeless dialogs, confirmation po688skills.sh installs