iTwin Viewer in Next.js
A proof of concept demonstrating the iTwin Viewer running in a Next.js App Router application.
SDK / Component Mode
iTwin Web Viewer
Standalone viewer using @itwin/web-viewer-react with custom UI providers and client-side OIDC auth.
Embedded Mode
Bentley Connect Viewer
Full Bentley Design Review application embedded with bi-directional postMessage event handling and element inspection.
Launch Connect ViewerSetup Instructions:
- Get your OIDC client credentials from developer.bentley.com
- Get your iTwin ID and iModel ID from the iTwin Platform APIs
- Add all credentials to your .env.local file
- Restart the development server