#Creating “Embedded Widgets” with Next.js?

3 messages · Page 1 of 1 (latest)

sacred lotus
#

Hi all,

I’m a slight Next.js beginner so excuse me here, I’m wondering if there are any good guides/tutorials or easy ways to create a component that others can embed on their site.

I want to build a feedback widget that someone can just install on their app, which would talk to my api.

cyan basin
#

just open up dev tools and set your screen to dynamic and set w and h to what you expect the widget size to be, and design in that view. should get you started. then you can use queryparams or searchparams to have the client pass along identifying info like their client id… user id… etc if you track that