vibecheck0.3.0
Integration Guides

React (drop-in)

Install, render once, and tour the VibeCheck props and hooks.

The fastest path: install the package and render <VibeCheck /> once near your app root.

Install

pnpm add @wcgw/vibe-check

Render once

import { VibeCheck } from '@wcgw/vibe-check'

export function Root() {
  return (
    <>
      <App />
      {process.env.NODE_ENV !== 'production' && <VibeCheck />}
    </>
  )
}

Props tour

PropTypeNotes
position'bottom-right' | …Corner the panel docks to.
panelsPanelType[]Which panels to show (fps, vitals, memory, console, issues).
startCollapsedbooleanStart as a floating pill.
beaconUrlstringWhere to POST snapshots — your MCP server.
storageKeystringDistinct localStorage bucket per embed.
engineVibeEngine | nullDrive a provided engine (e.g. createScriptedEngine).

Gate it behind a shortcut

Swap <VibeCheck /> for <PerfToggle /> to hide the panel behind Alt+Shift+V (override with the shortcut prop).

Hooks for custom UI

Build your own panel with useFrameRate, useWebVitals, useMemory, useLongFrames, and useDetectedIssues — see the React API reference.

Next.js

In the App Router the widget must run client-side. See the Next.js guide.