Tirit is a mixture of flour, butter, and egg yolks, commonly used as a filling or topping in many traditional desserts like baklava, ružice, and others. However, for savory dishes, tirit is usually prepared with only wheat flour and water. When making tirit for filling or topping in desserts, flour is rubbed with cold, grated butter until a crumblike texture is achieved.
Then, whisked egg yolks are added in batches, and each batch is rubbed into the crumbs to ensure they stay crumblike. Once prepared, the tirit is left to dry, usually in the oven to speed up the process, before being added to pastries. The process is the same if it's used for savory dishes.