Slots

Use when: building, modifying, or wrapping compound components that use child-component "slots" in Primer React. Covers when to add a `__SLOT__` marker, the `useSlots` hook, the `isSlot` helper, the `asSlot` wrapper helper, naming conventions for slot symbols, and common pitfalls.

primer Updated

File contents

primer/react commit 611d443ff1

Frequently asked questions

npx get-skill add primer/slots