Panels are shown which are provided with a mechanical locking system allowing perpendicular connection with a snap action. A set of panels including a first and a second panel, an edge of the second panel is insertable into a groove of the first panel, when the panels are arranged essential perpendicular to each other, to obtain a mechanical connection between the first and the second panel, when the second panel is displaced essentially perpendicularly to the first panel.