Downloading a project from CodeSandbox in order to work on it locally is easy but isn't super obvious (at least the first time I tried to find it).
It seems they changed their interface.
So to download/export a project from CodeSandbox, click on the hamburger menu on the top left corner > File > Export to ZIP