The Shirley of the title is a woman of independent means; her friend Caroline is not. Both struggle with what a woman's role is and can be. Their male counterparts - Louis, the powerless tutor, and Robert, his cloth-manufacturing brother - also stand at odds to society's expectations. The novel is set in a period of social and political ferment, featuring class disenfranchisement, the drama of Luddite machine-breaking, and the divisive effects of the Napoleonic Wars.