---
title: "Page break, MailKaro Docs"
description: "Page break in MailKaro: starts a new page when the design is printed or saved as a PDF. For React, Vue, Angular and plain JavaScript."
---

# Page break

Content blocks

# Page break

Starts a new page when the design is printed or saved as a PDF.

## Options

- Rule color and an anchor you can link to
- In an email it is a thin dashed rule, so it never breaks a layout

## What it outputs

The block is a `div` with `break-after: page` and `page-break-after: always` around a 1px dashed rule (default color `#cccccc`, 10px padding). In an inbox the reader sees only the thin rule. When the HTML is printed or saved as a PDF, the content after it starts on a new page.

## Anchors

Set an anchor and the block gets that `id`, so a link to `#your-anchor` jumps to it. Only letters, digits, `-` and `_` are kept; other characters are removed.

## With the Document builder

It is most useful in a [document](https://docs.mailkaro.com/document-builder). `renderDocument` adds an `@page` rule with `pageSize` (`letter` by default, or `a4`) and `margin` (default `0.5in`), and in print it keeps each block from splitting across two pages.

Source: https://docs.mailkaro.com/block-page-break
