Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vuestorefront/storefront-ui
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.
https://github.com/vuestorefront/storefront-ui
ecommerce javascript pwa react storefront storefront-theme ui ui-components ui-kit vue vue-components vuejs vuejs2 vuejs3
Last synced: 11 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/vuestorefront/storefront-ui
- Owner: vuestorefront
- License: mit
- Created: 2019-01-24T18:35:15.000Z (almost 6 years ago)
- Default Branch: v2-develop
- Last Pushed: 2024-07-29T18:08:12.000Z (3 months ago)
- Last Synced: 2024-07-30T05:18:34.019Z (3 months ago)
- Topics: ecommerce, javascript, pwa, react, storefront, storefront-theme, ui, ui-components, ui-kit, vue, vue-components, vuejs, vuejs2, vuejs3
- Language: TypeScript
- Homepage: https://storefrontui.io
- Size: 93 MB
- Stars: 2,314
- Watchers: 69
- Forks: 455
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-starred - vuestorefront/storefront-ui - 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. (vuejs)
README
Framework-agnostic UI library and Design System for eCommerce based on TailwindCSS.
## 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](https://pagespeed.web.dev/))
πΉ **Accessibility** - Web accessibility is more than an ethical requirement in the United States: [itβs also legally mandated](https://adasitecompliance.com/website-accessibility-legal-requirement/) 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](https://discord.vuestorefront.io)
- Report a bug
- Do a talk about Storefront UI at your local meetupWe are grateful for all kind of contributions. If you don't know where to start check out our [contribution guide](./CONTRIBUTING.md) or ask for help on [Discord](https://discord.vuestorefront.io)
## 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
- [Documentation](https://docs.storefrontui.io/v2/)
- [Playground Vue](https://play-vue.vuestorefront.io)
- [Playground React](https://play-react.vuestorefront.io)
- [Discord](https://discord.vuestorefront.io)
- [Alokai](https://vuestorefront.io)