---
url: https://lit-ui-router.dev/api/reference/types/LitViewDeclarationObject.md
---
[lit-ui-router](../index.md) / LitViewDeclarationObject

# Interface: LitViewDeclarationObject\<T>

Defined in: [packages/lit-ui-router/src/interface.ts:327](https://github.com/simshanith/lit-ui-router/blob/92660184d9980e90964f7e785d5efeb5cae43b42/packages/lit-ui-router/src/interface.ts#L327)

A view declaration object with an explicit component property.

## Extends

* [`_ViewDeclaration`](https://ui-router.github.io/core/docs/latest/interfaces/_state_interface_._viewdeclaration.html)

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
|  `T` *extends* [`DefaultResolvesType`](DefaultResolvesType.md) | [`DefaultResolvesType`](DefaultResolvesType.md) |

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
|  `component` | [`RoutedLitComponent`](RoutedLitComponent.md)<`T`> | the routed component: a LitElement class or a template function | [packages/lit-ui-router/src/interface.ts:331](https://github.com/simshanith/lit-ui-router/blob/92660184d9980e90964f7e785d5efeb5cae43b42/packages/lit-ui-router/src/interface.ts#L331) |
