---
id: fast-foundation.designsystemregistrationcontext
title: DesignSystemRegistrationContext interface
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [DesignSystemRegistrationContext](./fast-foundation.designsystemregistrationcontext.md)

## DesignSystemRegistrationContext interface

Design system contextual APIs and configuration usable within component registries.

<b>Signature:</b>

```typescript
export interface DesignSystemRegistrationContext 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [elementPrefix](./fast-foundation.designsystemregistrationcontext.elementprefix.md) | string | The element prefix specified by the design system's configuration. |

## Methods

|  Method | Description |
|  --- | --- |
|  [tryDefineElement(name, type, callback)](./fast-foundation.designsystemregistrationcontext.trydefineelement.md) | Used to attempt to define a custom element. |
|  [tryDefineElement(params)](./fast-foundation.designsystemregistrationcontext.trydefineelement_1.md) | Used to attempt to define a custom element. |
