With Smart Sync, you can set files as “online only.” This means you can see the file on the Dropbox desktop app, but not have it use up hard drive space.
You can read more about Smart Sync here!