> **Version 9** — **React** / **TypeScript**
> Also available:
- `?codeOnly=true` for code snippets only
- other versions: Version 10.3 (latest) (`/docs/api/doc-blocks/doc-block-stories.md`), Version 8 (`/docs/8/api/doc-blocks/doc-block-stories.md`)

# Stories

The `Stories` block renders the full collection of stories in a stories file.

![Screenshot of Stories block](../../_assets/api/doc-block-stories.png)

```md title="ButtonDocs.mdx"

```

## Stories

```js

```

`Stories` is configured with the following props:

### `includePrimary`

Type: `boolean`

Default: `true`

Determines if the collection of stories includes the primary (first) story.

  If a stories file contains only one story and `includePrimary={true}`, the `Stories` block will render nothing to avoid a potentially confusing situation.
  

### `title`

Type: `string`

Default: `'Stories'`

Sets the heading content preceding the collection of stories.