AppGlassContainer
Groups glass panes: it owns the spacing they need to breathe, and hands each child the geometry to sit concentric to it. The web answer to GlassEffectContainer.
Install: pnpm add-component AppGlassContainer
Concentric by construction
Three panes in a container. Turn concentric off and drag the radius sliders apart to watch the corners stop agreeing — the inner curve and the outer curve visibly fight. On, the child takes the container radius less the padding between them, which is the only value at which the arcs stay parallel.
What it does, and what it does not
The adoption guide asks for a container in two separate places, and this covers both: spacing, because glass needs room and crowding it reads as noise; and shape, because a pane cannot work out its own concentric radius — it does not know what it is inside. What it deliberately does not do is Apple’s fluid morph, where adjacent glass shapes merge into one another mid-animation. That needs a shared render target the web does not offer, and faking it with transforms would look worse than not doing it.
Glass on glass is not what this is for
Grouping means siblings. Nesting one pane inside another is called out in the guide as visual noise — the material is meant to be a single functional layer floating above the content, not a stack of them. A nested pane logs a development warning rather than failing silently, because the result usually looks merely muddy rather than obviously broken.
API
radius(number): The container's own corner radius. Children marked concentric derive theirs from it, so the two arcs stay parallel at every size.gap(number): Space between panes. The adoption guide is explicit that Liquid Glass elements need breathing room, and that crowding them creates visual noise, so the container owns this rather than leaving every caller to guess.padding(number): Padding inside the container. It defaults to gap because that is exactly what a concentric child measures itself against — the distance from its edge to the container’s.direction('row' | 'column'): How the panes stack. A toolbar is a row; a floating panel stack is a column.filled(boolean): Draw the container itself. Off by default, since it is usually only a grouping — turning it on gives the cluster a shared surface behind the individual panes.as(string): Tag for the root element — nav, header, or whatever the group actually is.