I've got a small proof of concept I'd like to share.
Currently, Perspective components basically fall into one of two categories:
- Container
- Not a Container
However, there are situations where a user may want control over how a non-container component is composed.
Perspective Component Slots
My concept is to allow traditionally non-container components to allow children, then position those children using a position.slot property.
This could be useful for components that have an internal structure, like buttons, dropdowns, date pickers, tables, and charts.