Skip to main content

Customizing the Admin UI

You can customize two things of the React Bricks Admin:

  • The Login UI
  • The Menu Items

Login UI

By providing the React Bricks configuration's loginUI object you can:

  • Customize the right image (or remove it)
  • Add your logo with width and height
  • Change the welcome text and its CSS style

By default the Admin has 3 menu items: Editor, Playground and Settings (for the editor "Deploy").

By providing the React Bricks configuration's getAdminMenu function, you can customize the menu items for the Admin and Editor users. The function receives an object as argument and you have isAdmin available on the object, so that you can provide two different menu items for Admin and Editor users.