---
id: fast-foundation.foundationelementdefinition.template
title: FoundationElementDefinition.template property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [FoundationElementDefinition](./fast-foundation.foundationelementdefinition.md) &gt; [template](./fast-foundation.foundationelementdefinition.template.md)

## FoundationElementDefinition.template property

The template to render for the custom element.

<b>Signature:</b>

```typescript
readonly template?: EagerOrLazyFoundationOption<ElementViewTemplate, this>;
```