Adding variants to your headless SXA component with Next.JS

In my last blog post, I talked about how to implement a new component

so, doing the same steps, but now I will add some extra ones to create variants of the same component.

So to add a new variant you must repeat the same process in Sitecore

and add a new definition in the same component file with the correspondent name

And that is it.

Happy coding 😀