How to use classes in instance mode?

We can put extra sketches in their own <iframe> tag, regardless if they’re global or instance mode.

Some example sketch using both modes + class:

Same sketch but also using a 3rd-party library + import & export:

2 Likes