# Extending uiSchema types for custom components

**URL:** <https://jsonforms.discourse.group/t/extending-uischema-types-for-custom-components/2684>\
**Category:** General\
**Created:** [May 1, 2025, 2:19pm UTC](https://jsonforms.discourse.group/t/extending-uischema-types-for-custom-components/2684 "2025-05-01T14:19:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![themattmayfield](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/themattmayfield/32/1261_2.png) [@themattmayfield](https://jsonforms.discourse.group/u/themattmayfield)\
**Post date:** [May 1, 2025, 2:19pm UTC](https://jsonforms.discourse.group/t/extending-uischema-types-for-custom-components/2684/1 "2025-05-01T14:19:58Z")

</div>

Hello! I have a ton of custom UI elements and want to extend the types on them and not sure how to do that. For instance I have a Switch component and want autocompletion on uischema.options?.props. Is there a path forward for this?

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [May 2, 2025, 9:44am UTC](https://jsonforms.discourse.group/t/extending-uischema-types-for-custom-components/2684/2 "2025-05-02T09:44:47Z")

</div>

Hi @themattmayfield,

The best way forward is to use your own typeguards and assertions. I’m not sure that there is a way the framework could help you without doing the same.
