Tulip Logo IconTulip
Dependencies

Next.js

Next.js provides the app runtime, routing model, and server/client boundaries used by Tulip apps.

Tulip apps are designed for the Next.js App Router.

Next.js owns routes, layouts, route handlers, metadata, server components, and client component boundaries. Tulip packages plug into that model instead of replacing it.

Where Tulip uses Next.js

  • @tulip-systems/app provides root and admin layout components.
  • @tulip-systems/auth/next/server provides auth helpers for server routes and protected layouts.
  • @tulip-systems/storage/server exposes route handler helpers for serving files.
  • App templates wire API routes, auth routes, storage routes, and RPC routes through Next.js.

What Tulip adds

Tulip adds reusable layout components, provider conventions, package styles, and focused Next.js helpers where a package needs route integration.

What your app owns

  • src/app route structure
  • server actions and route handlers that are app-specific
  • auth and RPC route placement
  • environment configuration
  • deployment settings

Continue reading

On this page