Site Logo
Site logo element. Auto-mode pulls name + logoUrl from Settings → General; explicit image/text modes override. Supports inverse logo that swaps in once the page scrolls past 50px (sticky/dark header use case).
Type: "logo"
Site logo element. Auto-mode pulls name + logoUrl from Settings → General; explicit image/text modes override. Supports inverse logo that swaps in once the page scrolls past 50px (sticky/dark header use case).
Props
| Field | Type | Default | Description |
|---|---|---|---|
sourceMode | 'auto'|'image'|'text' | "auto" | optional 'auto'|'image'|'text |
src | string (image URL) | — | image URL when sourceMode='image (shown when sourceMode = image) |
alt | string | — | alt text for the logo image (shown when sourceMode = image) |
text | string | — | text logo, or fallback when auto-mode has no tenant logo (shown when sourceMode ≠ image) |
inverseSrc | string (image URL) | — | inverse logo shown on scrolled headers (shown when sourceMode ≠ text) |
height | string | — | e.g. '40px' — required for SVG sources |
width | string | — | e.g. '120px' — required for SVG sources |
loading | 'eager'|'lazy' | "eager" | optional 'eager'|'lazy |
linkType | 'home'|'url'|'none' | "home" | optional 'home'|'url'|'none |
link | string (URL) | — | used when linkType='url (shown when linkType = url) |
Example
{
"id": "log01abc",
"type": "logo",
"props": {
"sourceMode": "auto",
"linkType": "home",
"loading": "eager"
}
}