> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/selphi-biometria-facial/propiedades/templateformat.md).

# templateFormat

## Details

**Attribute:** `template-format`

**Type:** `TemplateFormat`

**Default value:** `TemplateFormat.Base64`

### TemplateFormat

| Member      | Value | Description                         |
| ----------- | ----- | ----------------------------------- |
| `ByteArray` | `0`   | Template as a byte array.           |
| `Base64`    | `1`   | Template in Base64 (default value). |

## Morphology

```typescript
import { TemplateFormat } from '@facephi/selphi-web-component';

selphi.templateFormat = TemplateFormat.Base64;
```

## Description

Format of the Biometric Template returned in `extractionFinish` by `facephi-selphi-widget` (bytes or Base64).

***

## Example

```jsx
import { TemplateFormat } from '@facephi/selphi-web-component';

<facephi-selphi-widget
    templateFormat={TemplateFormat.Base64}
/>
```
