RVE LogoReact Video EditorDOCS
RVE SDK/Components/DefaultSidebar

DefaultSidebar

Configure the standard sidebar included with the RVE SDK editor

The RVE SDK includes DefaultSidebar inside ReactVideoEditor. It provides the icon rail and the panels for video, camera, text, audio, captions, images, shapes, Lottie, zoom, background, templates, and settings.

You normally configure the sidebar through ReactVideoEditor. You do not copy or import an internal sidebar source file.

Set screenRecordingTools to add a focused Home panel for screen recordings. See Screen Recorder mode for the minimal setup and optional camera and cursor data.

Basic Use

The default sidebar is visible when you render ReactVideoEditor:

import { ReactVideoEditor } from '@reactvideoeditor/react-video-editor/react-video-editor';
import '@reactvideoeditor/react-video-editor/styles.css';

export default function VideoEditor() {
  return (
    <ReactVideoEditor
      projectId="my-project"
      fps={30}
    />
  );
}

Configure the Sidebar

Use the sidebar props on ReactVideoEditor:

import { ReactVideoEditor } from '@reactvideoeditor/react-video-editor/react-video-editor';

export default function VideoEditor() {
  const logo = (
    <img src="/my-logo.svg" alt="My Editor" width={32} height={32} />
  );

  return (
    <ReactVideoEditor
      projectId="my-project"
      fps={30}
      sidebarLogo={logo}
      sidebarFooterText="My Video Editor"
      sidebarWidth="400px"
      sidebarIconWidth="57.6px"
      disabledPanels={['shape', 'template']}
      showIconTitles={false}
    />
  );
}
PropTypeDefaultDescription
showSidebarbooleantrueShow or hide the standard sidebar
sidebarLogoReact.ReactNodeRVE logoSet the logo in the sidebar header
sidebarFooterTextstring-Set the text in the sidebar footer
sidebarWidthstring"256px" ("400px" with screenRecordingTools)Set the width of the content panel
sidebarIconWidthstring"48px"Set the width of the icon rail
disabledPanelsstring[][]Hide panels by id. See Panel IDs
showIconTitlesbooleantrueShow or hide labels under sidebar icons
customSidebarReact.ReactNode-Replace the standard sidebar
screenRecordingToolsbooleanfalseAdd and open the beta screen-recording Home panel

Panel IDs

Use these ids in disabledPanels. The icon rail shows the panels in this order.

IDPanelNote
generalGeneralOnly with screenRecordingTools
pointerCursorOnly when a recording has cursor data
videoVideo
cameraCamera
textText
soundAudio
captionCaption
imageImage
shapeShapesSee Shapes
lottieLottie
zoomZoom
backgroundBackground
templateTemplatesSee Templates

The Settings panel is always available.

Stickers removed

The Stickers panel is removed. Shapes, Lottie, and templates replace it. If your code has 'sticker' or OverlayType.STICKER in disabledPanels, delete it.

Mobile navigation

disabledPanels applies to the desktop sidebar. The mobile navigation does not read it.

Replace the Sidebar

Pass your own component with customSidebar:

<ReactVideoEditor
  projectId="my-project"
  customSidebar={<MyCustomSidebar />}
/>

When you set customSidebar, the SDK does not show DefaultSidebar.

Responsive Behavior

  • Desktop layouts use the icon rail and content panel.
  • Mobile layouts use the SDK mobile navigation.
  • Set disableMobileLayout on ReactVideoEditor if your application must keep the desktop layout.

See the full ReactVideoEditor props reference for other layout and editor settings.