Banner basics
A banner is a typed content block rendered on a page. Every banner shares a small set of common properties, then extends them with type-specific props.
Need a full implementation guide for new banner types? See Add a new banner.
Need to understand how AI/MCP tools create and update banner payloads? See MCP Banner Fields.
Need to connect an AI tool to the MCP backend? See MCP Authentication.
Common props
DefaultBannerProps<T>
Used by every banner type.
Discriminator for the banner type. Used for routing, CMS validation, and renderer selection.
Optional title shown by many banner renderers.
Semantic heading tag for the title.
Title alignment used by the renderer.
BannerCSS
Optional CSS identifiers that can be attached to any banner.
Optional DOM id for anchor navigation and testing.
Optional extra classes applied to the banner wrapper.
Conventions
- Every banner has an
id: string(CMS identity) even if not displayed. - Complex props are usually shared utility objects:
- Images use
ImagePropsorSimpleImageProps - Links use
DynamicLink
- Images use
Placeholders
When a banner references an image, documentation pages show a placeholder: