For our development teams at UI Suite, one of the most compelling aspects of Display Builder is its modern "Islands Architecture." This approach, which renders HTML on the server and "hydrates" dynamic regions on the client, offers a lightweight yet powerful alternative to heavy JavaScript-based interfaces. It's a key reason for the builder's impressive performance and responsiveness.
Display Builder makes extensive use of HTMX to manage these islands. There are five types of islands we can use and extend: View panels for primary workspaces, Buttons for toolbar actions, Library panels for components, Menu items for contextual actions, and Contextual panels for settings. An event triggered in one island, like dragging a block into the builder, can efficiently update other islands using HTMX's out-of-band swapping.
This architecture simplifies our front-end development efforts significantly. Instead of managing a complex state in a large JavaScript application, our developers can create self-contained plugins that integrate seamlessly into the Display Builder UI. This modularity not only speeds up development but also makes our custom functionalities easier to maintain and debug.
Powered by Drupal and Display Builder
Design System native by UI Suite Team