Dashed line decal help

Hello, I am trying to make a dashed line decal that i can place on concrete/paved areas to have an outlined area with a dashed line. Kind of like this, but even across the entire plane.

I’ve created a decal material with a solid white line, but I haven’t been able to find any good resources to make a dashed line that sticks to the borders. Here is my current material:

Which looks like this:

If anyone can give me some pointers, I’d greatly appreciate it. Materials aren’t my strength