API and Development
TakeoverPage and building blocks from @prepared911/ui-takeover-page render immersive full-view experiences: TakeoverPagePortal mounts once at the app root (TAKEOVER_PAGE_PORTAL_ID), while TakeoverPage, TakeoverPageHeader, TakeoverPageBody, and TakeoverPageFooter compose the layout. useTakeoverClose coordinates exit animation before invoking onClose.
| Name | Type | Description |
|---|---|---|
title | string | Header title. |
titlePrefix | ReactNode | Content before the title. |
onClose | () => void | Called after exit animation. |
headerContent | ReactNode | Extra header area. |
footerContent | ReactNode | Footer slot. |
children | ReactNode | Body content. |
See TakeoverPageHeader, TakeoverPageBody, TakeoverPageFooter, and TakeoverPagePortal types for slot-level props.