Skip to main content

API Reference

MVTOrchestrator

The main component that wraps your application and injects the MVTLab.io engine.

Props

PropTypeRequiredDefaultDescription
orchestratorKeystring-MVTLab.io project key (passed as data-project-key)
childrenReactNode-App content to wrap
antiFlickerEnabledbooleantrueInject temporary body{opacity:0} style until engine ready
antiFlickerTimeoutMsnumber3000Fallback timeout to remove anti-flicker style

TypeScript

import type { MVTOrchestratorProps } from '@mvtlab/nextjs-orchestrator';

// Full type support
const props: MVTOrchestratorProps = {
orchestratorKey: 'abc123xyz',
antiFlickerEnabled: true,
antiFlickerTimeoutMs: 3000,
children: <App />,
};