When the existing Collection View kinds do not meet your requirements, you can create a custom Collection View from scratch.
Manifest
umbraco-package.json
{"type":"collectionView","alias":"My.CollectionView.Alias","name":"My Collection View","element":"/App_Plugins/my-collection-view/my-collection-view.js","meta": {"label":"Table","icon":"icon-list","pathName":"table" },"conditions": [ {"alias":"Umb.Condition.CollectionAlias","match":"Umb.Collection.Document"// Collection alias to display this collection view for } ]}
Implementation
Implement your Collection View as a Lit element that extends UmbLitElement. This defines how a list of entities is rendered in your collection.
Common Collection Match Values
Use the match property in your manifest to target a specific collection type.
Match Value
Description
Umb.Collection.Document
Targets the Document collection (content items).
Umb.Collection.Media
Targets the Media collection (images, videos, files).