⚜️ Design systems
Introduction to design systems, style guides, and component libraries.
A design system is a broader term usually consisting of a few sub-systems. Most people have their own definitions, but there are a common distinguish between a style guide and a component library.
When creating a style guide, you usually take a broader approach, including branding, typography, colors, and components.
In contrast, a component library is often focused on the components themselves.
What is a component library?
A component library gives developers and designers a mutual ground to look at when discussing form and function.
It is a collection of code that documents UI patterns for a web-based project. It start with the smallest possible components and build up to larger page modules.
Example of naming when talking about component libraries
- atom, molecule, organism, page
- element, component, module, page
- element, module, blocks, page
Design System generators
Fractal
We have used Fractal on a few projects lately and are very happy with that. There is a Twig version so we can use it for production ready components.
- Fractal - Twig support and an Open Source license
KSS (Twig)
For smaller projects, a generator like kss-node is a good choice. The concept is to use comments in the CSS to generate a style guide.
It can support Twig and are, therefore, a good match to use with Craft CMS, but the implementation is more or less system agnostic. We have used it with Statamic, and in other scenarios, too.
Other well-known alternatives that we haven’t tried (yet):
- Storybook - frontend workshop for UI development
- Pattern Lab - create atomic design systems
Or, a simpler alternative:
Resources
Videos
You have a Design System. Now What? with Ben Callahan
// 2025-06-17
Articles and Sites
On Design Engineering: I think I might be a design engineer... | Trys Mudford
// 2025-06-17
Atomic Design by Brad Frost
// 2025-06-17
A11Y Style Guide
// 2025-06-17
Website Style Guide Resources
// 2025-06-17
The Component Gallery
// 2025-06-17
Examples
Nord Design System
// 2025-06-17
Duolingo Brand Guidelines
// 2025-06-17
Porsche Design System
// 2025-06-17
Atlassian Design System
// 2025-06-17
Human Interface Guidelines / Apple
// 2025-06-17
Carbon Design System / IBM
// 2025-06-17
Material Design 3 / Google
// 2025-06-17
Fluent 2 Design System / Microsoft
// 2025-06-17
Washington Post Design System
// 2025-06-17