How Rivets Work: The rivet is ‘set’ by drawing the stem through the shell, which causes the body to expand/compress to distort and clamp the material securely. A small portion of the stem remains trapped in the bottom of the shell to ensure the clamping force is retained in the joint.