App blocks for themes

If your section is part of a JSON template, then you should support blocks of type @app. These blocks enable app developers to create blocks for merchants to add app content to their theme without having to directly edit theme code. You can build app blocks using theme app extensions.

To support app blocks, you need to do three things:

Additionally, you can create an app block wrapper section.

Refer to Dawn's main product section for an example implementation.