A set of floor panels which are mechanically connectable to each other at a first and a second edge of a first and a second floor panel (1b, 1c) respectively, wherein upper edges of said first and second edge in a connected state define a vertical plane, wherein the first edge is provided with a protruding tongue formed in one piece with the core of the first floor panel, said protruding tongue extending beyond the vertical plane, the second edge is provided with a separate flexible tongue, the flexible tongue comprises an inner part, which is connected to a holding groove at the second edge, and an outer flexible snap tab that extends upwardly and in the connected state into a cavity under the protruding tongue for locking the first and the second floor panel to each other in a vertical direction, the first edge comprises a strip with a locking element, the second edge comprises a locking groove, which is open towards a rear side of the second floor panel that is configured to face a subfloor, and a locking surface of the locking element is configured to cooperate, in the connected state, with a locking surface of the locking groove for locking the first and the second floor panel to each other in a horizontal direction, which is at right angles to the first and second edge, wherein the first and the second floor panel are mechanically connectable by a vertical displacement towards each other, wherein the flexible snap tab and the protruding tongue are configured to cooperate during said displacement such that at least a part of the flexible snap tab is, in a first stage, resiliently displaced towards the second edge, by the protruding tongue, and that the flexible snap tab is, in a second stage, displaced towards the first edge, to obtain the connected state, characterized in that a space is provided between the entire upper parts of the protruding tongue and the second edge, wherein said locking in the vertical direction is accomplished with an upper contact point between the protruding tongue and the flexible snap tab and a lower contact point between the strip and a lower edge of the second panel. the first edge is provided with a protruding tongue formed in one piece with the core of the first floor panel, said protruding tongue extending beyond the vertical plane, the second edge is provided with a separate flexible tongue, the flexible tongue comprises an inner part, which is connected to a holding groove at the second edge, and an outer flexible snap tab that extends upwardly and in the connected state into a cavity under the protruding tongue for locking the first and the second floor panel to each other in a vertical direction, the first edge comprises a strip with a locking element, the second edge comprises a locking groove, which is open towards a rear side of the second floor panel that is configured to face a subfloor, and a locking surface of the locking element is configured to cooperate, in the connected state, with a locking surface of the locking groove for locking the first and the second floor panel to each other in a horizontal direction, which is at right angles to the first and second edge, wherein the first and the second floor panel are mechanically connectable by a vertical displacement towards each other, wherein the flexible snap tab and the protruding tongue are configured to cooperate during said displacement such that at least a part of the flexible snap tab is, in a first stage, resiliently displaced towards the second edge, by the protruding tongue, and that the flexible snap tab is, in a second stage, displaced towards the first edge, to obtain the connected state, characterized in that a space is provided between the entire upper parts of the protruding tongue and the second edge, wherein said locking in the vertical direction is accomplished with an upper contact point between the protruding tongue and the flexible snap tab and a lower contact point between the strip and a lower edge of the second panel.