Skip to main content

full-width-block

full-width-block(..args, body)(source)

A block that extends horizontally to the full page width by applying negative horizontal padding that cancels out the current page margins.

Useful for components like progress bars, section banners, or background fills that need to span the entire page width regardless of the slide margins.

Example:

#full-width-block(fill: blue)[Full-width content]
Parameters

..args : arguments

Named and positional arguments forwarded to the inner block call (e.g. fill, height, inset, …).

body : content

The content to place inside the full-width block.

Returns: content