Alpine.js Playground
Examples Newsletter

x-for n times/iterations

Copied!

4 horizontal rules using Array.from({ length: 4 }):

4 horizontal rules using new Array(4).fill(null):

4 horizontal rules using new Array(4).fill(undefined):


        

💥 Subscribe for Early Access to the Alpine.js Handbook 📖 💥