umbraco-block-editor-custom-view

Implement custom Umbraco block views using Web Components and LitElement.

26|13|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/umbraco/Umbraco-CMS-Backoffice-Skills --skill umbraco-block-editor-custom-view
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umbraco-block-editor-custom-view
Source: https://github.com/umbraco/Umbraco-CMS-Backoffice-Skills/tree/main/plugins/umbraco-backoffice-skills/skills/umbraco-block-editor-custom-view
Command: npx skills add https://github.com/umbraco/Umbraco-CMS-Backoffice-Skills --skill umbraco-block-editor-custom-view

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers create custom visual representations for blocks within Umbraco's Block List, Block Grid, or Block RTE editors, enhancing the editing experience and providing tailored previews.

Core Features & Use Cases

  • Custom Visual Previews: Define unique web components to display block content visually.
  • Themed Previews: Match block previews to specific website themes or branding.
  • Enhanced Editing: Offer specialized visualizations for complex block data.
  • Use Case: Implement a custom view for a "Hero" block that shows a background image preview and styled headline directly in the backoffice.

Quick Start

Use the umbraco-block-editor-custom-view skill to generate a manifest and a basic TypeScript element for a custom view for the 'heroBlock' content type in the block-list editor.

Frequently Asked Questions about umbraco-block-editor-custom-view

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom previews for Umbraco blocks in the backoffice?

Custom Umbraco block previews are created by defining manifest files and custom web components using LitElement. This Skill generates the TypeScript elements needed to visually represent block content and settings data in the backoffice.

Can I use custom views with the Umbraco Block Grid and Block RTE editors?

Yes, custom views work with the Block List, Block Grid, and Block RTE editors. The Skill implements web components that integrate with these specific Umbraco extension types to render tailored visual previews.

Do I need LitElement to build Umbraco block editor custom views?

Yes, understanding LitElement is required to build custom views. The Skill uses LitElement to define the custom elements that render visual representations of your block data within the Umbraco backoffice.

What is the best way to style a 'Hero' block preview in the Umbraco backoffice?

The best way to style a block preview is to define a custom web component that renders content like background images and styled headlines. This Skill generates the manifest and TypeScript element needed for themed block previews.

How does a custom web component display block content and settings in Umbraco?

A custom web component displays block content by defining a custom element that receives content and settings data. The Skill sets up the manifest and element structure to visually render this data directly in the backoffice editors.

Are there limitations when creating custom visual representations for Umbraco blocks?

Creating custom visual representations requires understanding Umbraco extension types and LitElement. The Skill targets intermediate developers and focuses on generating manifests and elements, limiting its scope to backoffice preview rendering.