Skip to content

Studio Tools

Rebase has two modes:

  • Content Mode — For content editors and operations teams. Shows collections and data management.
  • Studio Mode — For developers. Unlocks developer-facing tools.

Toggle between modes using the admin mode controller or the UI toggle in the app bar.

A visual schema editor that lets you create and modify collections through a drag-and-drop UI. When you save changes, it uses ts-morph to update your TypeScript source files via AST manipulation — preserving all existing code and custom logic.

Collection editor

import { RebaseCMS } from "@rebasepro/admin";
// The Collection Editor is automatically enabled when you provide the
// collectionEditor configuration to your RebaseCMS component
<RebaseCMS
collections={collections}
collectionEditor={{
getAuthToken: authController.getAuthToken
}}
/>

Run raw SQL queries against your PostgreSQL database and see results in a table:

import { SQLEditor } from "@rebasepro/studio";
{ slug: "sql", name: "SQL Console", view: <SQLEditor /> }

Write and execute JavaScript using the Rebase SDK:

import { JSEditor } from "@rebasepro/studio";
{ slug: "js", name: "JS Console", view: <JSEditor /> }

Visualize and manage Row Level Security policies for your PostgreSQL tables:

import { RLSEditor } from "@rebasepro/studio";
{ slug: "rls", name: "RLS Policies", view: <RLSEditor /> }

Browse, upload, and manage files in your storage backends:

import { StorageView } from "@rebasepro/studio";
{ slug: "storage", name: "Storage", view: <StorageView /> }

Studio tools are automatically available when you include the RebaseStudio component inside your app:

import { RebaseStudio } from "@rebasepro/studio";
export function App() {
return (
<Rebase client={client} authController={authController}>
{/* Custom views are injected and studio mode is managed automatically */}
<RebaseStudio />
{/* ... */}
</Rebase>
);
}

These views appear in the sidebar navigation when Studio mode is active.