Modules

Compose your stack in the setup wizard, then use module docs for providers, file trees, and usage.

Modules are the building blocks of your app. You pick them during tailar init alongside a template; each module page documents installation variants, env vars, file trees, and code examples.

Wizard-first composition

The setup wizard asks which modules you want and which providers to use (database, email, auth, payments, etc.). That is the primary path for new projects—see Installation and Templates.

Available modules

  • i18n: included in the base; documented for messages and routing
  • db: Prisma and your chosen database provider
  • emails: Resend, Postmark, SendGrid, etc.
  • auth: Better Auth—login, orgs, invitations
  • payments: Stripe subscriptions and billing UI

Open a module from the sidebar for deep dives, previews, and API usage.

Adding modules later

After the initial wizard, use tailar add <module> to add another module or re-run provider prompts. Example:

pnpm dlx tailar@latest add auth

File storage & AI

File storage and AI integration modules are on the roadmap. There is no /docs/modules/storage page yet—watch the changelog and marketing site for releases.