# Templates

The DropDownList provides templates which enable you to customize the content of its drop-down list items and elements.

## Item Template

To customize the content of the suggestion list items, use the item template. To define an item template, nest an `<ng-template>` tag with the [`kendoDropDownListItemTemplate`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/itemtemplatedirective) directive inside a [`<kendo-dropdownlist>`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/dropdownlistcomponent) tag.

Use the `let-dataItem` directive to access the template context that is established based on the current data item displayed in the component list.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/dropdownlist/templates/source.txt)

## Value Template

To customize the content of the element which holds the selected text, use the value template. To define a value template, nest an `<ng-template>` tag with a [`kendoDropDownListValueTemplate`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/valuetemplatedirective) directive inside a [`<kendo-dropdownlist>`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/dropdownlistcomponent) tag.

The template context is set to the current DropDownList component. To get a reference to the current data item, use the `let-dataItem` directive.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/dropdownlist/templates/value/source.txt)

## Header Template

To customize the header element of the drop-down list, use the header template. To define a header template, nest an `<ng-template>` tag with a [`kendoDropDownListHeaderTemplate`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/headertemplatedirective) directive inside a [`<kendo-dropdownlist>`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/dropdownlistcomponent) tag.

The template context is set to the current DropDownList component.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/dropdownlist/templates/header/source.txt)

## Footer Template

To customize the footer element of the drop-down list, use the footer template. To define a footer template, nest an `<ng-template>` tag with a [`kendoDropDownListFooterTemplate`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/footertemplatedirective) directive inside a [`<kendo-dropdownlist>`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/dropdownlistcomponent) tag.

The template context is set to the current DropDownList component.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/dropdownlist/templates/footer/source.txt)

## No-Data Template

To customize the content of the drop-down list when no data is available, use the no-data template. To define a no-data template, nest an `<ng-template>` tag with a [`kendoDropDownListNoDataTemplate`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/nodatatemplatedirective) directive inside a [`<kendo-dropdownlist>`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/dropdownlistcomponent) tag.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/dropdownlist/templates/no_data/source.txt)

## Group Header Template

To customize the content of the group headers in the list, nest an `<ng-template>` tag with a [`kendoDropDownListGroupTemplate`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/grouptemplatedirective) directive inside a [`<kendo-dropdownlist>`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/dropdownlistcomponent) tag.

The current group name is available as implicit context variable (`let-groupName`).

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/dropdownlist/templates/group-header/source.txt)

## Fixed Group Header Template

To customize the content of the group header that is fixed above the list, nest an `<ng-template>` tag with a [`kendoDropDownListFixedGroupTemplate`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/fixedgrouptemplatedirective) directive inside a [`<kendo-dropdownlist>`](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/dropdownlistcomponent) tag.

The current group name is available as an implicit context variable (`let-groupName`).

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/dropdownlist/templates/fixed-group-header/source.txt)

## Suggested Links

* [API Reference of the DropDownList](https://www.telerik.com/kendo-angular-ui-develop/components/dropdowns/api/dropdownlistcomponent)
