---
url: /api/renderers/web-components/src/interfaces/ElementDefinition.md
---
[pantoken-root](../../../../index.md) / [renderers/web-components/src](../index.md) / ElementDefinition

# Interface: ElementDefinition

Alpha

One registered custom element: its base tag name plus a `define` that registers it via the context.

## Properties

### name

> `readonly` **name**: `string`

Alpha

The base tag name, e.g. `button` (minted to `<instui-button>`/`<x-button>` by the active prefix).

## Methods

### define()

> **define**(`ctx`): `void`

Alpha

Register the element into `ctx.registry`, using only the shared, prefix-aware helpers.

#### Parameters

##### ctx

[`RegisterContext`](RegisterContext.md)

#### Returns

`void`
