Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
React Three Fiber experimental starter template powered by Blitz.js
React Three Blitz is a Blitz.js starter template that merges React Three Fiber 3D capabilities with Blitz's full-stack conventions, giving you a single project where 3D scenes and traditional web UI coexist. Developed as an experiment by c0d3t3k, the template is heavily influenced by react-three-next, a well-known React Three Fiber + Next.js starter, and adapts that approach to the Blitz.js framework.
React Three Blitz is a starter/experiment built on the base Blitz.js generated app, adding custom layout components, pages, and a 3D-ready file structure. The template takes a standard Blitz.js project and injects React Three Fiber and Drei (via the pmndrs ecosystem) so you can render WebGL scenes inside your Blitz app. It runs on Blitz.js, which itself builds on Next.js, and requires Node. The output is a full web application with authentication, API routes, and 3D views all in one codebase.
_canvas.tsx and _dom.tsx components separate the Three.js canvas from the DOM overlay, a pattern borrowed from react-three-next that lets you render 2D UI on top of 3D content.login3d.tsx and signup3d.tsx, placing login and signup forms inside a Three.js scene instead of a plain HTML page.DarkMode.tsx component is provided in the core components folder.Logo.tsx component is ready to rebrand.hero.tsx page demonstrates a 3D hero section, complementing the default index.tsx.yarn and yarn dev, and the project includes a Gitpod button to launch a cloud environment directly from the repository.The README gives a three-step start: clone the repository, run yarn to install dependencies, then run yarn dev to start the development server. The app is then accessible at localhost:3000. The template's custom components are stored in the app/core/components and app/core/layouts folders, and pages are added under app/pages.
