---
url: https://lit-ui-router.dev/reference/lit-ui-router/elements.md
description: >-
  The custom elements lit-ui-router defines, with the properties, attributes,
  events, slots and CSS parts its Custom Elements Manifest records.
---

# Custom elements

The custom elements `lit-ui-router` defines, as its
[Custom Elements Manifest](https://custom-elements-manifest.open-wc.org/)
records them: each element's properties, attributes, methods, events, slots and
CSS parts. The manifest ships in the package as
`lit-ui-router/custom-elements.json`, the file editors and documentation tools
read.

Each element's class has a page in the [API reference](/reference/lit-ui-router/)
with its full type signatures, and
[Entry Points](/packages/lit-ui-router#entry-points) on the package page covers
the imports that define the elements.

## Elements

* **`<ui-view>`** ([`UiView`](/reference/lit-ui-router/components/UiView)) — This is the \<ui-view> component.
  * Properties: `name`, `uiRouter`, `routedElement`
  * Attributes: `name`
  * Slots: default
  * Events: `ui-router-context`, `ui-view-context`
* **`<ui-router>`** ([`UIRouterLitElement`](/reference/lit-ui-router/components/UIRouterLitElement)) — This is the root ui-router component.
  * Properties: `uiRouter`
  * Methods: `seekRouter`
  * Slots: default
  * Events: `ui-router-context`

## Viewer

The same manifest, one element at a time, with each member's type and
description.
