How would I create these meshes on a curve?

BTW, yes. You need to set the tangents at start and end. I got it look exactly like spiral stairs later with just two points and setting the tangents…