# Templates

:::caution{title="Under licence, not on npm"}

Récit is used under licence and is not on npm: `npm create recit` finds nothing. Install the `recit`
command line from the archives of the private channel, as the
[quickstart](https://docs.recit.dev/documentation/getting-started/quickstart) shows, then start from a template
below or from `recit init`.

:::

Each template of `create-recit` is an example deck, tested end to end. Each page shows its source,
to copy into your `slides.md`, and an interactive preview.

<FeatureGrid cols={2}>
  <FeatureCard title="Starter" badge="Beginner" description="Three slides of plain Markdown, no configuration." href="/presentation/demos/starter" />
  <FeatureCard title="Tech talk" badge="Beginner" description="Cards, quote, Mermaid diagram and speaker notes." href="/presentation/demos/tech-talk" />
  <FeatureCard title="Pitch" badge="Intermediate" description="4:3 format, light theme, brand colors, fade transitions." href="/presentation/demos/pitch" />
  <FeatureCard title="Course" badge="Intermediate" description="Math, table, tabbed code and a quiz with steps." href="/presentation/demos/course" />
</FeatureGrid>

## Starter

The minimum: plain Markdown, no configuration.

## Tech talk

A conference talk with cards, a quote, a Mermaid diagram and speaker notes.

## Pitch

A 4:3 product pitch with a light theme and brand colors.

## Course

A course handout with math, a table, tabbed code, a diagram and a progressive quiz.

## Other examples

Four more decks of the repository are not templates: open them from their demo page.
[Showcase](/presentation/demos/showcase) shows every layout, a full `recit.config.ts` and a custom
component; [MDX](/presentation/demos/mdx) stateful React components and expressions;
[Data](/presentation/demos/data) charts, key figures, inline values and maps drawn at build time;
[Site](/presentation/demos/site) stories published inside a Récit site.

## Without a template

In a project of your own, once the archives are installed (`npm install -D ./archives/*.tgz`),
`recit init` writes a starter deck in the current folder:

```bash
npx recit init slides.md --config
npx recit dev slides.md
```

When the deck is ready, `npx recit export slides.md` writes a PDF and
`npx recit export slides.md --html` a single self-contained HTML file.
