A pet barrier is disclosed. The pet barrier comprises a plurality of hinges. Each of the plurality of hinges a first component configured to engage a second component. The first component comprises one or more projections. The second component comprises a plurality of openings at a plurality of angles. One or more of the plurality of openings are configured to engage and lock the one or more projections at one of the plurality of angles. The pet barrier also comprises a plurality of panels. Each of the plurality of panels are configured to couple to another one of the plurality of panels at one of the plurality of angles via one of the plurality of hinges. The one of the plurality of hinges is locked at the one of the plurality of angles while the one or more of the plurality of openings engage the one or more projections.