Props

Props can be passed by using the scoped prop.

<slot scoped={{user: 'jimbo'}} />
<slot scoped={{user: 'jimbo'}} />

Props are available to all descendant layouts and pages.

export let scoped $: {user} = scoped
export let scoped
$: {user} = scoped

Writing good documentation that is up-to-date is difficult. If you notice a mistake, help us out.