The aim of this paper is to decompose the displacements of thin-walled beams with rectangular cross-section. The decomposition is accompanied by estimates of all its terms with respect to the norm of the strain tensor. Korn's inequality is also given.