Set Data Context for a Fragment Slot
You can set the context on a fragment slot to pass data via a slot template, so fragment users see some actual data in the custom slot component.
Suppose you want to display a default greeting with the first and last names of a particular user, here's how you can do this:
Now when the fragment is used on a page, your data (first and last names) is passed as slot content:
Description of the illustration slotdata-implicittemplate.png
Users can also provide custom slot content for a more visually appealing display:
Description of the illustration slotdata-custom.png