How to access environment variables?

Environment variables that are available during the build process won’t be available to your client-side UI unless you interpolate them at build time. Some frameworks do this for you automatically. Which UI framework are you using?