Skip to content

Frameworks

Frontend runs Node.js apps, so any framework with a Node dev server works. New projects start from one of these starters:

StarterWhat it is
TanStack StartFull-stack React with type-safe routing and server functions. The default starter.
Next.jsThe React framework with the App Router, server components and route handlers.
Vite + HonoA Vite React front end with a Hono API server.
AstroContent-focused sites with islands of interactivity.
React RouterReact Router’s framework mode, with loaders and actions.
ExpressA classic Node server, rendering pages with Nunjucks.

Every starter uses Tailwind CSS, and the React starters include shadcn/ui components.

Click Import from GitHub on your team’s dashboard to start from one of your repositories or a public repository URL. Any Node.js project works; Frontend detects the framework from its files.

Frontend uses the project’s framework to run its dev server, choose its build settings when you publish, and name its public environment variables. If you change frameworks in the code, update it in Settings → Advanced → Framework. The options are Next.js, TanStack Start, Vite, Vite + Hono, Astro, React Router and Express.

Variables that reach the browser use the framework’s prefix:

FrameworkPrefix
Next.jsNEXT_PUBLIC_
Vite, Vite + Hono, TanStack Start, React RouterVITE_
AstroPUBLIC_

Integrations write their public variables with the right prefix for the project’s framework.