Secondary elements
SwiftUI has a concept of secondary views, which are attached to a parent view but do not play a part in layout. Handy for e.g. putting a badge on an icon without changing the layout of the icon.
This can almost be replicated in Blueprint with Overlays, but really needs custom layout in order to let the secondary element take any size or position without affecting the parent element. Blueprint should provide a dedicated element for this pattern.
Could you sketch what you imagine this API looks like?
Oops, forgot to respond to this. I imagine a wrapper that simply takes two elements, and "attaches" the second to the first.
Attached(
element: primaryElement,
attachment: secondaryElement
)
Here primaryElement is wrapped and laid out normally, and secondaryElement is overlaid, but unlike Overlay, the layout of secondaryElement can not affect primaryElement or the Attached element.