Documentation

Install letterkit themes into your React Email project with the CLI.

Quick start

Create letterkit.json in your project

$ npx @letterkit/cli@latest init

Install a full theme with all templates (+ peer deps)

$ npx @letterkit/cli@latest theme add sensei

Add a single template

$ npx @letterkit/cli@latest add sensei/onboarding/we-miss-you

List available themes (after install: letterkit list)

$ npx @letterkit/cli@latest list

List templates in a theme

$ npx @letterkit/cli@latest list --theme sensei

CLI reference

letterkit init

Creates letterkit.json with defaultTheme and component paths.

letterkit list

Lists available themes.

letterkit list --theme <id>

Lists all templates in a theme, grouped by category.

letterkit theme add <theme-id>

Installs all templates and shared components from a theme.

letterkit add <category>/<name>

Adds one template using defaultTheme from letterkit.json.

letterkit add <theme>/<category>/<name>

Adds one template from a specific theme.

Themes

Each theme implements the same template contract across auth, billing, onboarding, transactional, notification, team, lifecycle, and product categories. Shared layout components and design tokens live under themes/<id>/_components.

Browse 4 themes →

Contributing

Want to add a theme? See CONTRIBUTING.md for guidelines.