# `Doggo.Storybook`
[🔗](https://github.com/woylie/doggo/blob/0.14.5/lib/doggo/storybook.ex#L1)

Generates [Phoenix Storybook](https://hex.pm/packages/phoenix_storybook)
stories for the Doggo components.

## Usage

In your story module, use `Doggo.Storybook` and pass the name of the module
in which you call the `Doggo.Components` macros and the name of the component
(not the macro name).

    defmodule Storybook.Components.Accordion do
      use PhoenixStorybook.Story, :component
      use Doggo.Storybook, module: MyAppWeb.CoreComponents, name: :accordion
    end

You can automatically generate story modules for all configured components
with `mix dog.gen.stories`.

---

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