ef-hierarchy-item

This element renders one row for EFHierarchyElement.

This element renders one row for EFHierarchyElement.

CSS Parts

PartDescription
badgeThe badge span that shows the element type.
childrenThe wrapper for nested child items.
labelThe span that shows the element name.
rowThe container for this item's row. This part receives the `data-focused` and `data-selected` attributes.

CSS Custom Properties

PropertyDefaultDescription
--hierarchy-drop-indicator#3b82f6Color of the drag-and-drop reorder indicator line.
--hierarchy-indent0.75remIndent width per nesting level.
--hierarchy-item-font-size0.75remRow label font size.
--hierarchy-item-height1.5remRow height.
--hierarchy-item-padding-left0.5remRow left padding.