This is an example of how to create a Carousel block using the InnerBlocks component. (To be presented at WordCamp Phoenix 2024.)
Uses the Flickity open source library for the carousel functionality.
If you're curious about how to use WordPress Core Data and share context across blocks, check out the advanced tutorial on YouTube. The code for that demo is available on the add-context-example
branch of this repository.