The beam is drawn inside the child, not inside <BorderBeam>. When nothing renders, the child is almost always missing one of these.
- An HTML element. A native tag works. A component works only if it forwards its ref to one. An SVG child, or a component that ignores ref, renders no beam and no warning.
- position: relative. Without it the beam escapes to the nearest positioned ancestor.
- outset={0} when it clips. By default the beam sits on the child's border, and overflow: hidden cuts it off. 0 draws it inside the edge.
The border width is read once. The beam follows the child's corner radius, but it reads the border width only when it mounts. If the border changes later, at a breakpoint or on hover, set outset yourself.