To design and document layouts of graphical user interface (UI), use the built-in feature to create draw.io charts using Layouts library.
Insert a new chart:
Import Layouts library in the library list and create a project of user interfaces: