# Templates

List the templates [`vela create --template`](/docs/create) accepts.

### Syntax

```
$ vela templates
```

Every template is printed under its category, with whether it has a backend, its price when it is a paid one, and a one-line description. An excerpt, with some descriptions shortened:

```
starter
  minimal      backend            SvelteKit with a PocketBase backend, wired up and migrated
  static       no backend         SvelteKit frontend only, prerendered with adapter-static

blog
  broadsheet   backend            Editorial newspaper blog: serif display type, kickers, ruled columns and a dated masthead
  folio        backend            Typography-first blog set in one serif family, with hairline rules and a narrow reading column

restaurant
  claret       no backend, US$18  Three-page chef's-counter site, dark and ruled in a single line of gold
  hearth       no backend         Three-page restaurant site built around the fire: hours, directions and a menu link

Create a project from one with `vela create my-app --template <name>`.
```

The two starters ship with the CLI; the rest come from the template registry, so the list is as current as the registry is. `backend` means the template comes with PocketBase, which is what decides whether `vela create` asks for a superuser and whether [`vela bless`](/docs/bless) can use it.

The command needs no project: run it anywhere, before there is anything to `cd` into. The list is plain text, so it reads the same in a pipe as at a terminal.

### Options

- `--json` - Print the list as JSON

```
$ vela templates --json
```

Each entry carries `name`, `category`, `description`, `backend` (`true` or `false`) and `source` (`builtin` or `remote`). Nothing but the JSON is written to standard output.

### Without the registry

When the registry cannot be reached, the built-in starters are listed on their own and a note on standard error says why. With `--json` the reason is in a `registryError` field instead. The command still succeeds, as `vela create` does with a built-in template while offline.