Skip to main content

How to remove Header/ToolBar from a page

Introduction

​ This is a simple example of how to remove the header and toolbar from a page. ​

Code

  1. Open the page file of the page you want to remove the header and toolbar from.
  2. Add the following code to the attributes of the page. ​
const CustomPage = {
title: "Custom Page",
blocks: [],
attributes: {
headerShown: false, // this is the line you need to add
},
};
export default CustomPage;
  1. Save the file and reload the app.