POC: Perspective Component Slots

I've got a small proof of concept I'd like to share.

Currently, Perspective components basically fall into one of two categories:

  1. Container
  2. 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.

Everything old is new again :wink:

I think it's a neat idea. I kinda wish we had done this from the beginning.

It’s not too late :upside_down_face:

I thought this was going to be about slot machines.

I like the idea it's actually about. There are definitely use cases for this.