Skip to content

ConvexPanel

import { ConvexPanel } from 'convex-inspect/react';
<ConvexPanel />

Renders a floating action button fixed to the bottom-right corner of the viewport. Clicking it opens the event log panel. The panel is dismissible and its open/closed state is persisted in localStorage.

PropertyTypeDefault
defaultOpenbooleanfalse

Sets the initial open state of the panel. Once the user opens or closes the panel manually, their preference is saved to localStorage and takes precedence over this prop.

<ConvexPanel defaultOpen={true} />

Once open, the panel exposes these controls in its header:

ControlDescription
ClearRemoves all events from the log
SettingsToggles a settings drawer with per-user preferences
FilterFilters the log to show only queries, mutations, or actions
Closes the panel
SettingDefaultDescription
Show timestampsOnDisplays the completion time for each event
Show count badgeOnShows an event count badge on the FAB

All settings are persisted per-origin in localStorage.

Each row in the log shows:

  • Type badgequery, mutation, or action, colour-coded
  • Function name — e.g. tasks:list
  • Statusloading, success, or error
  • Timestamp — optional, shows the completion time

Click or press Enter/Space on a row to expand it and inspect:

  • Args — the arguments passed to the function
  • Result — the return value (on success)
  • Error — the error message (on error)

All JSON blocks have a Copy button that appears on hover.