FastStore
The ultimate toolkit for building blazing-fast storefronts.
What is FastStore
FastStore (opens in a new tab) is a powerful yet lightweight set of libraries made for developers who want to explore their knowledge and creativity by building comprehensive and unique ecommerce solutions. It supports integration with VTEX headless CMS, allows meaningful analytics capabilities, and gives developers back the freedom of customization.
What is included
FastStore consists of three packages that enable the store to work: FastStore Core, FastStore UI, and FastStore CLI.
FastStore Core (@faststore/core)
Provides the starter source code to get your store up and running. It contains three sub-packages: Components, SDK, and API packages.
The Components
package is a library that crafts the behavior of React components into data attributes. The SDK is an extensible state management library that handles all meaningful states an ecommerce store might have, such as:
- Session - handles auth, region, locale, and currency data.
- Cart - handles a store cart's addition, remotion, update, and current state.
- Component - handles the state of the components of a store (e.g., display/hide mini cart).
- Search - handles the state of the faceted search (e.g., apply filters and sort).
Our SDKs also provide GA4 compatible analytics functions to help you create powerful analytics capabilities in your ecommerce. Finally, the API package lets you connect to your favorite ecommerce provider by creating interfaces for querying products, collections and manipulating carts.
FastStore UI (@faststore/ui)
Gathers the design system based on FastStore components, using Sass (opens in a new tab) for styling. For more information, refer to the FastStore UI guide.
ℹ️ Although the components use Sass, you can work with the desired tool for styling.
FastStore CLI (@faststore/cli)
This package is responsible for unifying the VTEX source code, in @faststore/core
, with the customizations and extensions the store will create in the /src
folder.
It makes debugging easier since we have this division between the VTEX source code and the customizations and extensions.
FastStore never constrains developers to any proprietary framework. It is opinionated by default but flexible under the hood.
Our philosophy
Instead of focussing on the next big thing in ecommerce, we tend to focus on what will never change, and try to nail it really well. Our pillars are:
- Performance: Amazing UX with great points on Lighthouse and Web Vitals
- Stability: Your ecommerce should never lose a sale due to provider issues
- Analytics/SEO: Understand who's visiting your store and reach a higher organic traffic