For now I'm writing them this way since classes are prepended anyways.
<div class="{{ ('size-40 bg-danger ' ~ attributes.render('class'))|tailwind_merge }}"></div>