Skip to content

BannerSlot

BannerSlot(__namedParameters): any

Full-width sticky banner placement.

Renders at the top or bottom of the viewport with a header, body, CTA button, and optional dismiss control.

Content fields used: header, body, message, cta_label, position, dismissible

BannerSlotProps

any

<BannerSlot
placement={output}
content={{ header: 'Upgrade to Pro', cta_label: 'Upgrade Now', position: 'top' }}
uiPath={{ type: 'navigate_to_plans' }}
onCtaClick={() => navigate('/plans')}
onDismiss={() => {}}
visible={true}
/>