Spline + Spline Mesh Component. Or ribbon particle (orwhatshername) in Niagara.
Check here:
And here:
You can also draw lines with widgets, and the HUD class does it well, too. Plenty of options, actually. Even the materials can draw 2d / 3d splines - but there’s an upfront cost to setting it up.