back to home

commercetools / ui-kit

Component library 💅

153 stars
28 forks
45 issues
TypeScriptJavaScriptMDX

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing commercetools/ui-kit in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/commercetools/ui-kit)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

🎹 commercetools UI Kit 💅 ✨ Component library based on our design system 🛠 > If you are building **Custom Applications** for the Merchant Center, be sure to check out our documentation > Interactive documentation of UI Kit components can be found in our Storybook Getting started The UI Kit is a set of React components that follows commercetools Design System. Need Help? In case you have any questions about or issues with the tools and components provided in this repository, please reach out to our Support team. Using individual packages Each UI Kit component is published as a single NPM package under the scope . This is useful if you only need a bunch of React components and do not want to have bigger bundle. For example: Using presets If you plan to use more components, you can also use some of the preset packages that group multiple packages together. This is useful to reduce the number of dependencies and imports. For example: All-in-one There is also a preset package that re-exports ALL UI Kit components: . > This package is also used for backwards compatibility after we started splitting up the components into single packages. Required peer dependencies Each UI Kit package comes with some required peer dependencies to be installed by the consumer. Depending on which UI Kit packages you use, make sure to have the related peer dependencies installed. Most of the time the required peer dependencies include , , . Design System > A design system is a collection of reusable components, guided by clear standards, that can be assembled together to build any number of applications. Design Systems are becoming more and more useful nowadays, as design and technology strive to find a perfect balance between them. The UI Kit project is the home of commercetools Design System and its implementation in the form of React components. The package exposes the design variables and tokens used to define design rules and constraints for commercetools products. Importing css variables in css files You will need a postcss-import plugin, and a postcss variable plugin: either postcss-custom-properties or postcss-css-variables would work. Using and The css variables can also be injected using postcss-custom-properties, removing the need to import them directly inside your css files. Accessing JavaScript variables and design tokens You can also access the JavaScript variables like this > Please look at the itself to inspect which variables are available.