Select components in builder to 'Wrap in a new container' - App Builder

I spend a decent amount of time as a designer/dev in the App Builder; I often find myself needing to wrap a few components I have in the editor into a new container.

Current Workflow Challenges

  • Layout Disruption: Adding a new container often disrupts the existing layout due to its default size and styles.
  • Time-Consuming Adjustments: Manually moving components into the new container and removing its default styling (padding, margins, headers, borders, background) is tedious.
  • Layout Repair Needed: The introduction of a new container frequently necessitates layout adjustments to restore the desired design.

Proposed Solution:

User -> Select 1+ components -> Right click -> 'Wrap in new container'

  • Automatically wrapping components would preserve the existing layout, eliminating the need to drag in a new container that disrupts the flow.
  • Ideally, the new container would inherit minimal or no default styling,

I imagine any use wanting to create nicer layouts in Retool will have this problem. I understand the beauty of the 12 column grid system; but containers are a crucial mechanism to get more control and refinement over the layout within this system. By focusing on improving workflow efficiency and reducing the time spent on repetitive tasks, the tool can become more appealing to a broader range of users.

Hey @dominic-rg! We do have an existing feature request for this and I've added your thread here to that internal ticket. I'll update you here as I receive any additional information to share. Thanks!

1 Like