# Using Yarn:
$ yarn global add new-story
# or, using NPM
$ npm i -g new-story
# Generate boilerplate story for all components.
cd into you a directory you want your stories to be generated.
new-story stories
# Generate Stories for all your variants
new-story story -f <filepathfromroot> -p <props>
## filepath eg: src/components/ui/Button/Button.stories.tsx
## props eg: size=sm,md,lg
Look into this example for detailed instructions.