Core-shell capsules based on supramolecular hydrogels show shell-related erosion and release due to confinement.