Dev.to WebDev 🛠 Dev 👁 0 📖 6 min read

We love frontend, and we think you will like what we built

Taggor publishes each piece of a website on its own. This is where the idea came from, what it does today, and what it is not for. We are Haftware. We have worked in software development for more than ten years, for sev

We love frontend, and we think you will like what we built

Taggor publishes each piece of a website on its own. This is where the idea came from, what it does today, and what it is not for.

We are Haftware. We have worked in software development for more than ten years, for several companies, large ones among them, and we have always loved what we do and tried to do our best at it. Taggor is our product: you build a piece of a website as a component, and Taggor builds it, hosts it, versions it and delivers it to any site with one script tag.

Frontend is the part of the work we love most. It is where the one of us who had this idea started programming, and this post is the story of that idea.

Where the idea came from

The idea dates from the time when micro-frontends were in fashion. We hated them. We thought they were much more complicated to maintain, and that is when we started to think about something that could be simple.

What we hoped for is this. Integrating different systems should be easy, and so should managing many of them. Publishing an update, or taking one back, should not need a million dependencies. You should see how people use your components without adding another tool. And a simple page that only accepts some data should not need a backend of its own.

One piece at a time

In Taggor the unit is one piece of a site: a button, a pricing table, a signup form, a navigation menu. Each piece is a component with its own tag, published on its own. You write it in TypeScript with the Taggor SDK, or your coding agent does; the docs have quickstarts for Claude Code, Codex and Cursor. The component declares a typed contract: the props a page can set, the events it sends to the page, the slots where the page puts its own HTML, and the data it may collect. Styles are CSS, SCSS or Tailwind, scoped to the component, and it can carry its own fonts. A page changes its look only through the parts and CSS variables the component names.

Our own gallery has controls such as a toggle and a range slider, charts, forms and navigation, all on one design system (a UI kit published piece by piece), and whole widgets such as a pricing table and a cart summary.

A site receives its pieces through one async script tag. The tag loads a small loader that fetches only the components that site uses, and you write each component's tag where it should appear. The docs have guides for WordPress, Shopify, Webflow, Wix, Framer, Squarespace, Google Tag Manager and plain HTML, and for using a component inside a React, Next.js, Vue or Angular app.

A web page drawn as five separate pieces: a search field, a headline, a pricing table, a signup form and an accordion, each with its own tag and its own version, delivered by one snippet

A piece that cannot break the page

Code that arrives from another server has to be a good guest, so isolation is what we care about most. Each component renders in its own Shadow DOM: the page's CSS does not restyle it, and it does not restyle the page. An error boundary contains a component that throws. What you write inside the component's tag is fallback content, which the visitor sees until the component loads, or if it never does. Keyboard and screen-reader behavior inside it is built into our templates.

The loader is small, with a hard size ceiling checked before every Taggor release. It sets no cookies and uses no browser storage, and if Taggor is unavailable your page normally stays up with only the Taggor components missing. Before a publish, taggor dev previews a component on a deliberately hostile test page, with aggressive CSS, and taggor check runs the publish gates for types, size and security. The same gates run again when Taggor builds the component, in an isolated container.

Versions, and the way back

Every publish is a new immutable version: we never edit a published version, and a change is a new one. Sites do not point at versions. They follow a channel, Staging or Production, and a channel points at one version. Promoting moves the channel, and the pages that carry the snippet follow without being edited. In the words of our docs, a rollback is to "point the channel back at the previous version. Nothing is rebuilt, because the old version is still stored."

Each build has a private, temporary preview link. A component can carry different default values on each site, without a new version. Every publish stores the source, so taggor pull recreates the project on any computer.

Metrics and forms, included

Metrics are built in. Taggor counts loader deliveries, impressions, interactions, the custom events a component declares, and form submissions, and it breaks them down by site, component, version, country, device, hostname or event. The counts carry no visitor identifier. Every number also states its source and how far to trust it: a count that comes from browsers is labelled forgeable, because anyone who knows a site key can add to it, and stored submissions are labelled counted.

Forms need no backend from you. A component declares a collection with typed fields and submits to it with one hook. Taggor validates each submission, checks it for spam and stores it. You read the submissions in the portal and export them as CSV, NDJSON or JSON. The data is yours.

An example of what comes with a published form: the signup-inline component, example output of the taggor metrics command, and an example list of stored submissions. The values are illustrative.

Four ways to drive it

Everything goes through one public API, and the other three are clients of it. The taggor CLI covers the whole path: init, dev, check, publish, promote, rollback, metrics, data export. The portal does the same without the command line, for a workspace whose members have roles. A remote MCP server lets any MCP client create components, publish versions and manage sites in your workspace, within the permissions you approve, and you can revoke them in the portal. Credentials, payment and legal acceptance stay with a person.

Server-side rendering

For a site whose HTML comes from a server or a build, your server can ask Taggor for the component already rendered and write it into the first HTML. With the @taggor/server helper that is one call, taggor.render(...), and the docs have examples for Next.js, Astro, Express, SvelteKit, Nuxt, Flask and PHP. The visitor sees the component as soon as the HTML arrives, and it becomes interactive in place when the script loads. Whatever goes wrong, the call returns the plain tag.

What Taggor is not

If your sites share one codebase, one framework and one team, a package or a monorepo does this inside the tools you already have. A Taggor component is written with the Taggor SDK and renders a Preact view, so existing framework components have to be ported. Server-side rendering is not for hand-edited static HTML or a closed site builder, because there is no server of yours to ask. A site's list of allowed domains stops a copied snippet from working elsewhere; it is not access control. And the automated checks on every publish reduce risk; they are not a security audit or a guarantee.

Why we think this is good for the web

Code from somewhere else can restyle a page, track the visitor, or take the page down with it. We wanted the opposite kind of guest. We believe a piece that stays in its box, follows nobody across sites and leaves the page working when it fails makes each site it lands on better. We also believe that a way back that is one command makes people less afraid to ship.

What it costs, and how to try it

Taggor has a Free plan and two paid ones, Pro and Agency. Every plan has every feature; they differ in volume, Free is never billed, and a paid plan can carry a spending limit. The numbers are on the pricing page.

The CLI quickstart goes from signing in to a component on a test site of your own, and component publishing explains the idea. We would love to hear what you think, most of all the parts that confused you or that you would have built differently. Tell us in the comments.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.