Skip to content

Framework Support

Screenbook works with any frontend framework. This page shows the current support status for auto-generating screen.meta.ts files from your routes.

Frameworks with file-based routing are fully supported. Screenbook can automatically detect routes and generate screen.meta.ts files.

FrameworkStatusAuto-generate
Next.js (App Router)✅ Supported
Next.js (Pages Router)✅ Supported
Nuxt✅ Supported
Remix✅ Supported
Astro✅ Supported
SvelteKit✅ Supported
SolidStart✅ Supported
QwikCity✅ Supported
TanStack Start✅ Supported

For file-based routing, Screenbook uses the routesPattern configuration to find route files:

screenbook.config.ts
import { defineConfig } from "screenbook"
export default defineConfig({
// Next.js App Router
routesPattern: "src/app/**/page.tsx",
// Nuxt
// routesPattern: "pages/**/*.vue",
// Remix
// routesPattern: "app/routes/**/*.tsx",
})

Then run screenbook generate to create screen.meta.ts files automatically.

Frameworks with config-based routing (routes defined in a single file) are planned for future releases.

FrameworkStatusAuto-generate
React Router✅ Supported
Vue Router✅ Supported
TanStack Router✅ Supported
Solid Router✅ Supported
Angular Router✅ Supported

Even without auto-generate support, you can manually create screen.meta.ts files for any framework:

src/screens/dashboard/screen.meta.ts
import { defineScreen } from "screenbook"
export const screen = defineScreen({
id: "dashboard",
title: "Dashboard",
route: "/dashboard",
owner: ["platform"],
tags: ["analytics"],
})

Configure Screenbook to find your manually created files:

screenbook.config.ts
import { defineConfig } from "screenbook"
export default defineConfig({
metaPattern: "src/screens/**/screen.meta.ts",
// routesPattern is optional for manual setup
})

See working examples for supported frameworks:

Don’t see your framework? Open an issue to request support!