logo

fun logo(src: String, position: LogoPosition = LogoPosition.TOP_RIGHT, size: LinearDimension = 80.px, margin: LinearDimension = 16.px, opacity: Double = 1.0, href: String = "")

Pin a brand logo to a corner of every slide.

Parameters

src

image URL. A relative value resolves against the output root, so the same path works from a deck at any depth; absolute (/img/logo.png), external (https://...), and data: values pass through untouched.

position

which corner (LogoPosition.TOP_RIGHT by default).

size

rendered width; height follows the image's aspect ratio.

margin

distance from the two adjacent viewport edges.

opacity

0.0–1.0; useful for watermark-style logos.

href

optional link target; when blank the logo ignores pointer events entirely. Unlike src, it is emitted as written — a navigation target is left alone.