---
id: fast-components.fasttreeitem
title: fastTreeItem variable
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-components](./fast-components.md) &gt; [fastTreeItem](./fast-components.fasttreeitem.md)

## fastTreeItem variable

A function that returns a [TreeItem](./fast-foundation.treeitem.md) registration for configuring the component with a DesignSystem. Implements [treeItemTemplate](./fast-foundation.treeitemtemplate.md)

<b>Signature:</b>

```typescript
fastTreeItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<TreeItemOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<TreeItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>
```

## Remarks

Generates HTML Element: `<fast-tree-item>`
