---
title: Volume
framework: docc
role: symbol
role_heading: Directive
path: docc/volume
---

# Volume

Organizes related chapters into a volume on a tutorial’s table of contents page.

## Declaration

```swift
@Volume(...) {
    ...
}
```

## Parameters

- `name`: The name of the volume. (required)

## Overview

Overview If you need a second level of organization on a table of contents page, use Volume directives to organize related chapters into volume groupings. For each volume, use the name parameter to specify a volume name, and provide some descriptive text. Then, insert Chapter directives for the chapters each volume contains. Optionally, use an Image directive to show an image for a volume. @Tutorials(name: "SlothCreator") {     @Intro(title: "Meet SlothCreator") {                  ...     }          @Volume(name: "Getting Started") {         Building sloths, caring for them, and interacting with them.                  @Chapter(name: "SlothCreator Essentials") {             ...         }                  @Chapter(name: "Basic Sloth Care") {             ...         }                  @Chapter(name: "Basic Sloth Interaction") {             ...         }     }          @Volume(name: "Climbing Higher") {         Taking your sloths to the next level.                  @Chapter(name: "Powering Up") {             ...         }              ...     }         ... } Contained Elements A volume can contain the following items: Containing Elements The following pages can include volumes: Tutorials

## Topics

### Referencing Chapters

- [Chapter](docc/chapter.md)

### Displaying an Image

- [Image](docc/image.md)

## See Also

### Organizing Content

- [Chapter](docc/chapter.md)
