# `mix phx.gen.storybook`
[🔗](https://github.com/phenixdigital/phoenix_storybook/blob/v1.1.0/lib/mix/tasks/phx.gen.storybook.ex#L1)

Generates a Storybook and provides setup instructions.

```bash
$> mix phx.gen.storybook
```

The generated files will contain:

  * a storybook backend in `lib/my_app_web/storybook.ex`
  * a custom js file in `assets/js/storybook.js`
  * a custom css file in `assets/css/storybook.css`
  * scaffolding including example stories for your own storybook in `storybook/`

The generator supports the `--no-tailwind` flag if you want to skip the TailwindCSS specific bit.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
