---
id: "slot-assign"
kind: "web-feature"
canonical: "https://timetostable.com/feature/slot-assign"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Imperative slot assignment (`slot-assign`)

The assign() method for <slot> elements assigns nodes to the slot, as an alternative to using the slot and name HTML attributes. The nodes must be children of a shadow host and the shadow root must be created with the slotAssignment set to "manual". Also known as manual slot assignment.

- **Group**: Web components
- **Baseline**: Widely Available
- **Newly Available Date**: 2023-03-27
- **Widely Available Date**: 2025-09-27
- **Specification**: https://html.spec.whatwg.org/multipage/scripting.html#dom-slot-assign
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 92 | 2021-07-20 |
| Chrome Android | 92 | 2021-07-20 |
| Edge | 92 | 2021-07-22 |
| Firefox | 92 | 2021-09-07 |
| Firefox for Android | 92 | 2021-09-07 |
| Safari | 16.4 | 2023-03-27 |
| Safari on iOS | 16.4 | 2023-03-27 |

