Custom widgets enables application builders to securely extend Foundry applications with custom frontend code. Custom widgets are supported in Workshop, including both desktop and mobile modules. When building custom widgets for use in mobile modules, ensure the styling is compatible with the form factor of a mobile layout.

With custom widgets, technical builders can implement functionality not available out-of-the-box and provide a tailored experience for application users without needing to create a whole standalone custom application from scratch.
Examples that could be built with custom widgets:
Widget sets can contain up to ten widgets, allowing you to publish multiple related widgets from a single code repository. Learn more about widget sets and core concepts.
Custom widgets can also detect and adapt to the host application's color scheme, enabling seamless dark theme support.
You can embed a website built in Developer Console through a Workshop iframe widget. Custom widgets improve this workflow by reducing the complexity of requiring OAuth and subdomain registration, while adding advanced developer tooling. However, you should continue to use iframe widgets to host Developer Console websites for standalone custom applications where a dedicated application subdomain, full control of the page, and advanced features like a customizable Content Security Policy (CSP) are required.