Deformed Soft Matter under Constraints