Composition of the blocks


Is a composition of custom blocks available?

In UI guidelines I found this phrase:

You don’t need to build charting into your block if users can install the existing chart block alongside your block.

Does it mean that a user can install one block inside another one?

Hi! Users can’t install blocks inside each other. The idea around composition comes from the fact that all of the blocks in a base read and write to the same set of tables.

To make that chart example more concrete, if you’re building a block that imports or manipulates the records in a table, then that block probably doesn’t need much in terms of visualization functionality, since users can install chart blocks alongside your block.

1 Like