A spacer for separating bones of a joint, the spacer includes a frame having a longitudinal axis, and ramped surfaces. An endplate configured to engage a bone of the joint has ramped surfaces mateable with the ramped surfaces of the frame. When the endplate is moved relative to the frame in a direction along the longitudinal axis of the frame, the endplate is moved in a direction away from the frame to increase the height of the spacer. A second endplate configured to engage a second bone of the joint can be similarly configured.