A rich, herbaceous caramelized onion tart that’s perfect for a show-stopping holiday app or side. If you’re short in time, swap in store bought all-butter puff pastry dough.
Working 1 hour or up to 3 days ahead, make and chill the dough. In a large bowl, combine flour, sugar, and salt. Fold in butter. Working quickly, use fingertips to smush and flatten most of the butter cubes, ensuring each piece is completely coated with flour. You should have a shaggy, clumpy dough with some large butter chunks when you're done. Fold in ice water, gently nudging dough until it holds together. If needed, add 1 - 2 tablespoons more ice water to help dough hold together.
Turn dough out onto a sheet of parchment or plastic wrap, shape into a disc, and wrap tightly.
Chill at least 1 hour or up to 3 days ahead.
Use a tiny triangle cut to remove onion cores. Then cut 1/4-inch thick slices lengthwise (from top to root).
Set a wide, deep-sided 10-inch skillet or pot over medium heat. Once hot, add the butter, and then the onions a few handfuls at a time. Set timer for 10 minutes and cook, stirring frequently until the onions have taken on color and just started to sizzle. Reduce heat to medium-low, add bay leaves, and a 1/4 teaspoon each salt and pepper. Set timer for 40 minutes. Check the onions frequently, stirring and turning them. If the skillet starts to dry out, add a tablespoon of water and be sure to scrape up the delicious brown bits from the bottom of a skillet. Toward the end of cook time, add additional salt and pepper to taste. Cook until onions are sweet and a golden hue. Set aside to cool briefly.
When onions are almost done cooking, preheat the oven to 400 degrees F and move a baking rack to the top third of the oven.