Most blocks in the Loki Checkout are created with a set of the following:
Template
class)The PHTML templates are deliberately kept small, so that template overrides in your own theme are easy to upgrade. However, the idea is that most generic customizations are made either via the XML layout or dynamic AlpineJS behaviour.