# Editor.Pages
> Left rail of page thumbnails. Add, delete, reorder pages via drag.
Source: https://docs.docmosaic.com/docs/primitives/pages
`Editor.Pages` is the page-list rail. One thumbnail per page; click to switch the active page; drag a thumbnail to reorder (touch-capable via react-dnd); "Add Page" to add, "×" to delete.
## Usage
```tsx
```
`Editor.Root` arranges `Pages` to the left of `Canvas` regardless of source order - no manual layout needed.
## Composition
Mount `Editor.PageThumbnail` individually for a custom list:
```tsx
const { state: document, actions } = useEditor();
{document.pages.map((page, i) => (
actions.changePage(i + 1)}
onDelete={() => actions.deletePage(i)}
onMovePage={actions.reorderPages}
/>
))}
;
```
## Examples
### Compact rail (`bare`)
`bare` renders just the thumbnail strip plus a single "add page" affordance - no internal header, "last modified" footer, or "Add Image" button. This is the mode the app-shell left rail uses.
```tsx
```
## API Reference
## Related
- [PageThumbnail](/docs/primitives/page-thumbnail)
- [PageBackground](/docs/primitives/page-background)