• Stars
    star
    2,330
  • Rank 19,757 (Top 0.4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A frontend library for Vue and React that helps developers quickly build fast, accessible, and beautiful storefronts. Made with ๐Ÿ’š by Vue Storefront team and contributors.

Storefront UI

Framework-agnostic UI library and Design System for eCommerce based on TailwindCSS.

Chat with us on Discord npm Commitizen friendly License PRs Welcome


Vue Installation React Installation

What problems does Storefront UI solve?

Like any UI Library / Design System the main goal of Storefront UI is to accelerate the development process by providing an opinionated set of premade components, utilities and patterns.

There is a lot of the things you have to take care of to build good user interfaces:

๐Ÿ”น Developer/Designer workflow - Storefront UI comes out of the box with Figma files - a pixel-perfect representation of your code that your design and engineering teams needs to stay aligned.

๐Ÿ”น Performance - Poorly written and overcomplicated components are often the performance bottleneck ruining the experience of your users. All standard eCommerce pages that we've built with Storefront UI hit 95-100 on Lighthouse! (mobile performance measured using PSI)

๐Ÿ”น Accessibility - Web accessibility is more than an ethical requirement in the United States: itโ€™s also legally mandated and you risk fines if the justice department determines your website is non-compliant. At the same time building accessible components takes a lot of time and requires specific domain knowledge. Storefront UI components are WCAG AA compliant out of the box!

But let's be honest, almost all established UI libraries can solve that. Here's what's Storefront UI is best at::

๐Ÿ”ธ Customization - Most of the UI libraries out there fail when components need to be heavily customized. You suddenly find yourself working against your library just to achieve the desired look. Storefront UI is built for complex cases. We ship a set of small and flexible base components like Button, Checkbox or Modal that can be used to build more complex ones. We also deliver more complex examples (aka Blocks) like ProductCard or a different checkout steps as copy-pasteable code using Storefront UI components and Tailwind utilities.

In addition, Storefront UI fits perfectly complex UI setups where one library is inherited and customized by multiple projects differing visually.

๐Ÿ”ธ Scaling - The more your application grows the less maintainable your UI becomes. By providing the right building blocks and using Tailwind CSS we made sure that your UI will be easy to maintain and won't negatively impact your performance even on a large scale.

๐Ÿ”ธ Focus on eCommerce - Storefront UI comes out of the box with components specific to eCommerce like ProductCard, QuantitySelector and even checkout components

What comes out of the box? ๐ŸŽ

  • Base Components - beautiful, fast and fully accessible components like Input Checkbox Button that you can use to quickly build more complex structures
  • Blocks - complex, copy-pasteable examples like ProductCard or checkout steps.
  • Composables like useDropdown that abstract complex UI interactions
  • Tailwind preset that maps tailwind config to CSS variables and provides few SFUI-specific defaults
  • Typography package simplifying usage of 3rd party fonts
  • Figma file with pixel-perfect representation of SFUI components based on tailwind properties

Contributing

We believe that the best software is made when a lot of people with different views collaborate on it. We welcome all contributions to Storefront UI.

You can become contributor not only by writing code:

  • Contribute to documentation
  • Write an article or tutorial
  • Help others on our Discord server
  • Report a bug
  • Do a talk about Storefront UI at your local meetup

We are grateful for all kind of contributions. If you don't know where to start check out our contribution guide or ask for help on Discord

How to run project locally

In the root directory of this project run yarn command to install all needed dependencies. After dependencies has been installed run yarn dev command to run this project. Now both (Nuxt preview for Vue and Next preview for React) projects are running locally and you can start working on them. If you need to run only one of them, you need to run a desired preview from its directory, so you need to go for Vue: /apps/preview/nuxt and for React: /apps/preview/next.

NOTE: Subdependencies have to be build, such as

  • @storefront-ui/shared located in /packages/sfui/shared
  • @storefront-ui/tw-plugin-peer-next located in /packages/sfui/tw-plugin-peer-next
  • @storefront-ui/typography located in /packages/sfui/typography

Knowing this we recommend using yarn dev in root directory.

Links

More Repositories

1

vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
TypeScript
10,628
star
2

vue-storefront-api

Vue.js storefront for Magento2 (and not only) - data backend
JavaScript
347
star
3

shopware-pwa

Shopware PWA for eCommerce. Headless storefront solution for Shopware 6, which communicates through the SalesChannel-API. Always Open Source, MIT license. Made with ๐Ÿ’™ by shopware AG & Vue Storefront.
TypeScript
345
star
4

mage2vuestorefront

Magento to Vue-storefront datapump - synchronizes Products, Categories and Product-to-category links between your Magento2 API and NoSQL database of vue-storefront
JavaScript
199
star
5

magento2

Vue Storefront 2 integration for Magento 2
TypeScript
171
star
6

vsf-capybara

Capybara is a Storefront UI based theme for Vue Storefront. Always Open Source, MIT license. Made with ๐Ÿ’š by Vue Storefront.
Vue
154
star
7

shopify

Vue Storefront 2 integration for Shopify
TypeScript
149
star
8

magento2-vsbridge-indexer

This is official Vue Storefront, native, Magento2 indexer
PHP
69
star
9

ecommerce-integration-boilerplate

Boilerplate for creating new integrations for Vue Storefront Next - open-source frontend for any eCommerce
TypeScript
62
star
10

magento2-rest-client

Magento2 Node.js Rest client
JavaScript
56
star
11

storefront-nuxt3-boilerplate

Nuxt 3 Storefront Boilerplate
Vue
52
star
12

awesome-vuestorefront

๐Ÿ˜Ž A curated list of awesome things related to Vue Storefront ๐Ÿ˜Ž
32
star
13

storefront-next13-boilerplate

Vue Storefront Next 13 Boilerplate
TypeScript
26
star
14

vsf-default

Vue Storefront Default theme. Always Open Source, MIT license. Made with ๐Ÿ’š by Vue Storefront. (please consider vsf-capybara instead)
Vue
20
star
15

vue-storefront-1

The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Newest updates: https://blog.vuestorefront.io. Always Open Source, MIT license.
TypeScript
18
star
16

template-shopify

Vue
16
star
17

salesforce-commerce-cloud

Vue Storefront 2 integration for Salesforce Commerce Cloud
TypeScript
16
star
18

nuxt3-magento-sdk-storefront

A boilerplate storefront build with the Vue Storefront Magento 2 Integration and Storefront UI
JavaScript
15
star
19

integration-boilerplate

Framework Independent boilerplate containing SDK and API Client starters.
TypeScript
14
star
20

template-magento

TypeScript
14
star
21

storefront-nuxt2-magento2

Magento2 Integration for Vue Storefront 2
TypeScript
13
star
22

storyblok

MOVED TO https://github.com/vuestorefront/vue-storefront/tree/legacy/packages/storyblok
TypeScript
12
star
23

developer.vuestorefront.io

Vue Storefront Developer Portal
TypeScript
9
star
24

theme-utilities

Simple theme inheritance for any JavaScript application
TypeScript
8
star
25

sfui2

TypeScript
8
star
26

storefront-api

Storefront GraphQL API Gateway. Modular architecture. ElasticSearch included. Works great with Magento1, Magento2, Spree, OpenCart, Pimcore and custom backends
TypeScript
8
star
27

storefront-query-builder

ElasticSearch Query builder from the abstract "SearchQuery" object used by storefront-api, vue-storefront-api and vue-storefront projects
TypeScript
7
star
28

cli-integrations

List of CLI's integrations and GitHub Actions to manage them.
JavaScript
4
star
29

bigcommerce

TypeScript
4
star
30

nuxt-sdk-playground

Vue
4
star
31

slidev-theme-vuestorefront

Vue
3
star
32

redis-driver

MOVED to https://github.com/vuestorefront/vue-storefront/tree/legacy/packages/redis-driver
JavaScript
3
star
33

vsf-utilities

Vue Storefront shared utilities
TypeScript
2
star
34

payment-template

JavaScript
2
star
35

checkout-com

MOVED TO https://github.com/vuestorefront/enterprise
TypeScript
2
star
36

eslint-config

JavaScript
2
star
37

template-commercetools

Vue
2
star
38

storefront-playground

TypeScript
2
star
39

vuepress-theme-vsf-docs

Vue
1
star
40

next-sdk-playground

Nuxt playground template for SDK integration boilerplate
TypeScript
1
star
41

integration-team-nginx-reverse-proxy

Nginx reverse-proxy dockerfile for the local multistore setup
1
star
42

integrations-github-workflows

1
star