Retool apps tutorial: Assemble the user interface
Learn how to assemble the user interface of a Retool app.
Retool apps group code, components, and frames into pages. Apps can contain a single page or you can build more complex apps using multiple pages.
Part one of this tutorial uses a single page to display and edit customer data. In part two, you will add another page to view customer subscription data.
Edit the default page
All apps initially start with a single page, defaultPage. Update the details for this page to use it for customers.
- Click in the left panel to open the Pages tab.
- Right-click page1 in the Pages pane and select Rename.
- Rename the page to
customersPage. The page name is the unique identifier for this object within a Retool app. - In the Inspector on the right-side of the IDE, update the Page title to
Customers. The title is what Retool displays in the browser and in navigation components. - Change the Page URL to
customers. The URL is the path at which the page resides.
Add a table and form to the page
Components are interface elements with which users interact, such as input fields and buttons. You assemble the app's user interface by placing components anywhere on the canvas of a selected page, and can adjust their position and size.