Responding on mobile sorry if this is weird formatting. Yes, if you already use className for styling, simply use a data attribute instead. It would give you the exact same effect. I just liked using className because i felt it read nicely. Does that work?