Skip to main content

Footer

Earlier we were using renderFooter prop to render custom footer which was removed in #5970. Now you can pass a Footer component instead to render the custom UI for footer.

You will need to import the Footer component from the package and wrap your component with the Footer component. The Footer should a valid React Node.

Usage

Live Editor
Result
Loading...

This will only for Desktop devices.

For mobile you will need to render it inside the MainMenu. You can use the useDevice hook to check the type of device, this will be available only inside the children of Excalidraw component.

Open the Menu in the below playground and you will see the custom footer rendered.

Live Editor
Result
Loading...