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

# Interface: ParentUiView

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

The enclosing `<ui-view>` as a descendant sees it: the element itself, with
the view name it fills and the router it renders for.

## Extends

* `HTMLElement`

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
|  `name` | `readonly` | `string` | The view name this viewport fills; empty is the `$default` view. | [packages/lit-ui-router/src/context.ts:457](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/lit-ui-router/src/context.ts#L457) |
|  `uiRouter` | `readonly` | [`UIRouterLit`](../core/UIRouterLit.md) | The router the view renders for. | [packages/lit-ui-router/src/context.ts:459](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/lit-ui-router/src/context.ts#L459) |
