Embeddable Widgets with Vite, React, Tailwind 4 & Web Components (opens in new tab)
We recently built out a few embeddable widgets and chose to use React + Tailwind 4 delivered as a Web Component (built with Vite). We had confidence that this combination would work well for our needs given our familiarity with each, but we knew there would be some things to figure out, too. So how is this supposed to work? # Let’s start with the pieces involved: - a modern approach to web encapsulation/integration, and a welcome alternative to the dated iframe approaches. - does what it says...
Read the original article