@sellbase/web

Sellbase storefront as Web Components: works in any site (HTML, WordPress, Vue, Svelte, Astro, Angular…).
649 2
Install
npm install @sellbase/web
Latest Version:0.3.3
License:MIT
Last Updated:Sep 28, 2026
Links: GitHub  ·  npm
Maintainer: jlgavel011

@sellbase/web

Sellbase web components for any site: plain HTML, WordPress, Webflow, Vue, Svelte, Astro or Angular. Shadow DOM, themed with CSS variables, 13 KB gzipped.

<script>
  window.SellbaseConfig = {
    url: 'https://<project>.supabase.co/functions/v1/sellbase-api',
    anonKey: '<anon key>',
  };
</script>
<script type="module" src="https://unpkg.com/@sellbase/web/dist/sellbase.js"></script>

<sellbase-cart-button></sellbase-cart-button>
<sellbase-add-to-cart product="my-product-slug"></sellbase-add-to-cart>
<sellbase-cart-drawer></sellbase-cart-drawer>
<!-- on /checkout: -->
<sellbase-checkout></sellbase-checkout>
<!-- on /gracias: -->
<sellbase-checkout-return></sellbase-checkout-return>

Elements:

  • sellbase-add-to-cart, sellbase-price, sellbase-product-grid;
  • sellbase-product: a full product page (gallery, title, description and buy box). Use product="<slug>", or slug-param="p" to read the slug from ?p= so one producto.html serves every product (set productUrl: '/producto.html?p={slug}' in SellbaseConfig);
  • sellbase-cart-button, sellbase-cart-drawer;
  • sellbase-checkout (shows the consent checkbox the store requires), sellbase-checkout-return;
  • sellbase-order-lookup, sellbase-download.

Theme them with --sellbase-primary, --sellbase-text, --sellbase-border, --sellbase-radius… and ::part().


Part of Sellbase, open source commerce that lives inside your project. MIT licensed.

Related Packages

@skeehn/wc

Framework-agnostic Web Components for skeehn — custom elements that work in Vue,...

318 0
@properui/elements

Proper UI as framework-agnostic custom elements ( , , ...) for Vue, Angular, Sve...

0 1
@videojs/html

Video.js 10 for HTML, Vue, and Svelte: player custom elements and skins for vide...

468,870 39,999
@simplr-ai/web-components

Framework-agnostic Web Components for the Simplr platform. Standard Custom Eleme...

2,371
tegaki

Framework-agnostic animated handwriting renderer with React, Svelte, Vue, Nuxt,...

114,241 3,255

Version History

Version Released License
0.3.3 MIT
0.3.2 MIT
0.3.1 MIT
0.3.0 MIT