Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Allows for the creation of E-Commerce sites using the Astro framework and Snipcart. Start your e-commerce business in minutes!
Astro Snipcart is an open-source Astro integration that lets developers build Snipcart-powered e-commerce sites from just a few lines of HTML and Astro components.
Astro Snipcart is an open-source integration between the Astro framework and the Snipcart e-commerce platform, maintained by Lloyd Atkinson. It takes Astro components and TypeScript-based product definitions as input and produces a working storefront with Snipcart checkout, basket display, and total price widgets as output. The project is distributed as two npm packages — @lloydjatkinson/astro-snipcart (core components) and @lloydjatkinson/astro-snipcart-design-system (optional Tailwind-based design system) — and the repository is a pnpm monorepo.
Install the core package via npm (npm install @lloydjatkinson/astro-snipcart), then add the provided Astro components to your pages. The integration loads the Snipcart library and wires product definitions to Snipcart's checkout. For the design system, you also install @lloydjatkinson/astro-snipcart-design-system and configure Tailwind as described in the documentation.
The Astro Snipcart packages are free and open source under the MIT license. Snipcart's hosted service is a separate paid product.
Yes, both @lloydjatkinson/astro-snipcart and @lloydjatkinson/astro-snipcart-design-system are open source under the MIT license.
The core components ship with zero JavaScript by default, apart from the Snipcart library itself. Your Astro pages stay lightweight while checkout is handled by Snipcart.
Install the core package with npm install @lloydjatkinson/astro-snipcart. To use the optional design system, also run npm install @lloydjatkinson/astro-snipcart-design-system and configure Tailwind per the documentation.
Subscription support is planned but not yet implemented; the current version handles product-based e-commerce.
The live playground is at astro-snipcart-playground.vercel.app, and the documentation is at astro-snipcart.vercel.app/en/introduction.
