# Tiles Configuration

Tiles represent the content containers within the TileLayout component and allow for a wide variety of layouts based on the application requirements.

## Defining the Tiles

To define the tile containers, add [`TileLayoutItem`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent) components by nesting `<kendo-tilelayout-item>` tags inside `<kendo-tilelayout>`. They will hold the arbitrary content of the tile.

Each tile consists of two main sections, which yield for a logically separated structure and are responsible for aligning the content passed to them.

Those sections are:

* `body`(Required)—Configured by nesting a `<kendo-tilelayout-item-body>` element of type [`TileLayoutItemBody`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitembodycomponent) inside the tile. Any content you pass to it will be rendered as the main content of the container.
* `header`(Optional)—Configured either by passing a string to the [`title`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent#title) configuration option of the [`TileLayoutItem`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent) or by nesting a `<kendo-tilelayout-item-header>` element of type [TileLayoutItemHeader](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemheadercomponent) inside the tile. Both approaches will result in rendering a header section above the body.

> The header section of the tiles is required if the [`reorderable`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutcomponent#reorderable) option of the TileLayout component is enabled. End-users will be able to drag the tiles through their headers.

The following example demonstrates how to structure the contents of the TileLayout tiles.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/tilelayout/tiles/basic/source.txt)

## Size and Position

Each tile occupies a predefined number of rows and columns. The default size is one row and one column. To configure the number of rows and columns the tile will occupy, set its [`rowSpan`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent#rowspan) and [`colSpan`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent#colspan) options. Additionally, the tile allows you to pin-point its initial position to a specific column and row.

All available configuration options related to sizing and positioning the tiles are:

* [`rowSpan`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent#rowspan)—Specifies the number of rows the tile will occupy.
* [`colSpan`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent#colspan)—Specifies the number of columns the tile will occupy.
* [`row`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent#row)—Specifies the initial row of the tile.
* [`col`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent#col)—Specifies the initial column of the tile.
* [`order`](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent#order)—Specifies the index order of the tile. By default, the tiles are ordered sequentially according to their position in the DOM.

> For additional details and examples on how to configure the specific column and row sizes, refer to the article about the [dimensions of TileLayout columns and rows](https://www.telerik.com/kendo-angular-ui-develop/components/layout/tilelayout/dimensions).

The following example demonstrates how to set various row and column spans for the tiles.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/layout/tilelayout/tiles/size/source.txt)

## Suggested Links

* [Auto Flow](https://www.telerik.com/kendo-angular-ui-develop/components/layout/tilelayout/auto-flow)
* [Tiles Reordering](https://www.telerik.com/kendo-angular-ui-develop/components/layout/tilelayout/reordering)
* [Tiles Resizing](https://www.telerik.com/kendo-angular-ui-develop/components/layout/tilelayout/resizing)
* [API Reference of the TileLayoutComponent](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutcomponent)
* [API Reference of the TileLayoutItemComponent](https://www.telerik.com/kendo-angular-ui-develop/components/layout/api/tilelayoutitemcomponent)
