Generic design for UI layout.