Menu

1 / 2

Tour guide / product tour a zero-dependency that works in React, Vue, Svelte, Angular, Electron and Android / React Native WebViews

DEV Community: opensource·Elmer Alluad Jr.·about 2 hours ago
#O5y7dPcp
#devtoopensource#devto#dev#search#profile
Reading 0:00
15s threshold

Every app eventually needs an onboarding tour. "Here's the search bar. Here's your profile. Click here to create your first project."

It sounds simple. Then you try to build one:

The popover runs off the edge of the screen on a phone.

The highlighted button sits inside a menu that isn't open yet.

Your app's CSS breaks the tour's layout, or the tour's CSS breaks your app.

Keyboard and screen reader users get stuck inside it, or can't reach it at all.

The library you picked only supports one framework, and your company runs three.

I hit all of these, so I built @xkid1/tour-guide : a product-tour Web Component with zero runtime dependencies .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.