A frontend library for React and Vue that helps developers quickly build fast, accessible, and beautiful storefronts. Made with by Vue Storefront team and contributors.
Storefront UI is a UI library and design system that aims to accelerate the development process by providing a set of pre-made components, utilities, and patterns. It addresses various challenges in building user interfaces such as developer/designer workflow, performance, and accessibility. Additionally, Storefront UI stands out with its customization options, scalability, and focus on eCommerce.
Storefront UI excels in the following areas:
To install Storefront UI, follow these steps:
Add the Storefront UI package as a dependency in your project:
npm install @storefront-ui/vue
Import and register the required components in your application:
import Vue from 'vue';
import { Button, Checkbox, Modal } from '@storefront-ui/vue';
Vue.component('sf-button', Button);
Vue.component('sf-checkbox', Checkbox);
Vue.component('sf-modal', Modal);
Use the imported components in your Vue templates:
<template>
<div>
<sf-button>Hello World</sf-button>
<sf-checkbox v-model="isChecked">Check me</sf-checkbox>
<sf-modal v-if="isModalOpen">Modal content</sf-modal>
</div>
</template>
Customize the components as needed, utilizing the provided customization options.
Storefront UI is a UI library and design system that offers a range of benefits for developers and designers. It simplifies the development process by providing pre-made components, utilities, and patterns. With a focus on customization, scalability, and eCommerce, Storefront UI ensures optimized performance, accessibility, and ease of use.