Skip to main content
Custom Providers wrap the Admin Panel with your own React Context. Register them through admin.components.providers in your FrogBot config:
Then create the provider as a Client Component:
See Building Custom Components for component path and client boundary details. Providers nest in array order, with the first entry outermost; providers is listed with the other root slots in Root Components.
React Context is available to Client Components. Keep server-only work in a Server Component and pass serializable values into the provider.