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

# Interface: LitViewDeclarationObject\<T>

Defined in: [packages/lit-ui-router/src/interface.ts:372](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/lit-ui-router/src/interface.ts#L372)

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:376](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/lit-ui-router/src/interface.ts#L376) |
