Skip to content

Slot Content Reference

A SlotContentRef names the act of filling a slot. It is a single-key object whose $slotContent value is a JSON Pointer to the fill, so the same content can be authored once and referenced from many places.

interface SlotContentRef {
$slotContent: string;
}

Properties

PropertyTypeRequiredDescription
$slotContentstringYesJSON Pointer to the fill’s structural triplet

Resolution

The pointer resolves to one of three targets — all yielding an anatomy + elements + layout triplet:

TargetExample pointerResolves to
Component.slotContentExamples entry#/components/pill/slotContentExamples/composedLabelthat SlotContent
Composition entry#/compositions/pageGridthe composition’s top-level triplet
Composition.slotContent entry#/compositions/filterResultsPage/slotContent/pageHeaderthat SlotContent

The $slotContent key discriminates the reference — it names the act of filling a slot, not the target type.

Where it appears

Further Reading