The code below shows how to create new layers which run vertically down a newsfeed:
# Create and style the cards within a for-loop
for i in [0...10]
layer = new Layer
width: scroll.width - 48, height: 400
x: 24, y: (400 + 32) * i
borderRadius: 6, superLayer: scroll.content
layer.style.boxShadow = "0 1px 6px rgba(0,0,0,0.2)"
But I'm looking at removing the styling code and simply re-insert an existing layer group which has been imported from Sketch.