Dynamic class name May 4, 2023 by Tarik This helped me. div :class="['obj-' + obj.id]" style="float:right; color:red;"