umbraco-umbraco-element
Umbraco Element
What is it?
An Umbraco Element is a Web Component enhancement that simplifies integration with the Umbraco Backoffice through the UmbElementMixin. It provides methods to consume/provide contexts, observe states, handle localization, and host controllers. UmbElementMixin can be applied to any Web Component-compatible base class, while UmbLitElement is a convenience wrapper combining the mixin with Lit.
Documentation
Always fetch the latest docs before implementing:
- Main docs: https://docs.umbraco.com/umbraco-cms/customizing/foundation/umbraco-element
- Context API: https://docs.umbraco.com/umbraco-cms/customizing/foundation/context-api
- Controllers: https://docs.umbraco.com/umbraco-cms/customizing/foundation/umbraco-controller
- Localization: https://docs.umbraco.com/umbraco-cms/customizing/foundation/localization
- Foundation: https://docs.umbraco.com/umbraco-cms/customizing/foundation
Workflow
- Fetch docs - Use WebFetch on the URLs above
- Ask questions - Using Lit? Need contexts? Need localization? Which base class?
- Generate files - Create element using UmbElementMixin or UmbLitElement based on latest docs
More from umbraco/umbraco-cms-backoffice-skills
umbraco-backoffice
Umbraco backoffice extension customisation - complete working examples showing how extension types combine
185umbraco-controllers
Understand and create controllers in Umbraco backoffice (foundational concept)
171umbraco-extension-template
Create new Umbraco backoffice extensions using the official dotnet template
170umbraco-dashboard
Implement dashboards in Umbraco backoffice using official docs
170umbraco-quickstart
Quick setup for Umbraco extension development - creates instance, extension, and registers it
168umbraco-property-editor-ui
Implement property editor UIs in Umbraco backoffice using official docs
165