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.
Members
| Property | Type | Required | Description |
|---|---|---|---|
$slotContent | string | Yes | JSON Pointer to the fill’s structural triplet |
Resolution
The pointer resolves to one of three targets — all yielding an anatomy + elements + layout triplet:
| Target | Example pointer | Resolves to |
|---|---|---|
Component.slotContentExamples entry | #/components/pill/slotContentExamples/composedLabel | that SlotContent |
Composition entry | #/compositions/pageGrid | the composition’s top-level triplet |
Composition.slotContent entry | #/compositions/filterResultsPage/slotContent/pageHeader | that SlotContent |
The $slotContent key discriminates the reference — it names the act of filling a slot, not the target type.
The components segment names the whole spec-key space, not the components directory: a composition spec addresses slotContentExamples — other specs’ and its own — through the same #/components/<spec key>/slotContentExamples/<name> form, optionally with /subcomponents/<sub>/ before slotContentExamples for a subcomponent-owned fill. Those two forms are the only ones the emitters resolve today; the #/compositions/… forms above are declared by the schema but not yet resolved by any consumer, so generated and authored specs alike use the #/components/… form.
Where it appears
SlotBinding.examples— Figma’s authoring default for a slot layer.Element.propConfigurationsslot-prop entries — see Prop Configurations.InstanceExample.propConfigurations— the slot-prop value in a documented whole-component usage.