MindeesUI
ComponentsOverlays

Fullscreen Overlay

An opaque full-bleed modal surface for immersive flows like onboarding, editors, and media, with caller-owned inner layout.

FullscreenOverlay is a generic fullscreen modal that covers the entire screen with the token canvas background. Unlike Modal, it is not centered and has no scrim or panel — it is an opaque, full-bleed surface for immersive flows such as onboarding, editors, and media viewers. Callers own all inner layout.

Import

import { FullscreenOverlay } from '@mindees/ui';

Usage

const [visible, setVisible] = useState(false);

return (
  <FullscreenOverlay
    visible={visible}
    onClose={() => setVisible(false)}
    accessibilityLabel="Photo editor"
  >
    {/* full-screen editor canvas */}
  </FullscreenOverlay>
);

Props

PropTypeDefaultDescription
visiblebooleanControls whether the overlay is shown.
onClose() => voidCalled on the platform back gesture when dismissible.
dismissiblebooleantrueWhen false, the hardware back button is ignored.
accessibilityLabelstringLabel announced when the overlay opens.
styleStyleProp<ViewStyle>Style for the surface (token canvas background default).
childrenReact.ReactNodeSurface contents; you control all inner layout.

Accessibility

Built on React Native's Modal with presentationStyle="overFullScreen", so the platform manages focus capture. The surface is marked accessibilityViewIsModal; provide accessibilityLabel to describe the flow. When dismissible is true the Android back button calls onClose. The slide transition is replaced with no animation when reduce motion is enabled.

On this page