Children and slots
Children, called slots in some systems, are content passed into a component so it can wrap whatever you give it.
Definition
Children, called slots in some systems, are content passed into a component so it can wrap whatever you give it.
Use case
A Dialog wraps any content, and a Button can hold an icon and a label.
In Figma
Instance swap
Related terms
Resources
No resources yet. Suggest one.