I don't have experience with nextjs but I have implemented nexus ui elements in my Ember js app, maybe it will be helpful
I created a nexus modifier which gets added like an attribute on a div
The modifier is ember's way of manipulating a DOM element after it renders in a component. Maybe NextJs has a similar API for manipulating a DOM element when it rendeers.
I don't have experience with nextjs but I have implemented nexus ui elements in my Ember js app, maybe it will be helpful
I created a nexus modifier which gets added like an attribute on a
div
The modifier is ember's way of manipulating a DOM element after it renders in a component. Maybe NextJs has a similar API for manipulating a DOM element when it rendeers.
Then I apply the modifier to a div in in my component