This content is passed through the default slot!
You can put any HTML here.
Web components are a set of web platform APIs that allow you to create custom, reusable HTML tags.
They provide encapsulation and reusability, making them perfect for building scalable applications.
Published on February 2, 2026| Slot Type | Usage | Description |
|---|---|---|
<slot> |
Default slot | Accepts any content without slot attribute |
<slot name="foo"> |
Named slot | Accepts content with matching slot="foo" attribute |
<slot>Default</slot> |
Fallback content | Shown when no content is provided for the slot |