Skip to main content

A component can specify fallbacks for any slots that are left empty, by putting content inside the <slot> element:

<div class="box">
		<em>no content was provided</em>

We can now create instances of <Box> without any children:

	<p>This is a box. It can contain anything.</p>

We stand with Ukraine. Donate → We stand with Ukraine. Petition your leaders. Show your support.