1. Overview

overview
AutoParts DS is the design system behind an online auto-parts store for professionals and car owners in Ukraine. It covers everything from colour primitives to a full product card, and it lives in two places at once: Figma for designers and a React + Storybook library for developers.
The goal was simple: one source of truth. Every colour, size and radius is a Figma variable; every variable ships to code as a W3C design token; every component in Storybook reads only those tokens.
My role: product designer — research, visual language, Figma library, token architecture, component specs, Storybook documentation and the Figma ⇄ code pipeline.
2. The problem

The problem
Auto-parts shopping is data-heavy: article numbers, brands, fitment, stock, delivery times. Typical stores either look like spreadsheets or hide the data behind generic marketplace UI. On the team side, designs and code drift apart after the first sprint — a colour changes in Figma and nobody updates the CSS.
I needed a system that:
shows technical data clearly without feeling like a 2005 catalogue;
has a recognisable, automotive character;
cannot drift between Figma and code.
3. Visual language

Visual language
Colour with a job. Purple = interaction (links, secondary actions, focus). Lime = the single main action on a screen ("Add to cart", "Checkout"). Status colours are reserved for stock, fitment and discounts — nothing decorative.
Shape carries meaning. Chamfered corners mark anything interactive or highlighted — buttons, badges, product media, toasts. Containers stay square. No rounded corners, no pills: the cut corner echoes machined metal parts.
Two typefaces. Tektur for headings, prices, article numbers and statuses; Inter for everything you read.
Data first. Article number, brand, fitment, stock and delivery are visible without hovering.
4. Token architecture

Token architecture
Four layers, 893 tokens, all in the W3C Design Tokens format (DTCG 2025.10):
Layer | Tokens | What it holds
Primitives | 310 | Raw palette, spacing, sizes, opacity
Semantic | 233 | Meaning:
surface-page, text-accent, interactive-primaryTypography & grid | 136 | Responsive type scale and layout grid per breakpoint
671 Figma variables carry a code-syntax link, so a designer sees the exact CSS variable in Dev Mode.
Modes, not duplicates. Light/dark themes, button types, badge statuses and sizes are variable modes in Figma and
data-* attributes in code — one component, many states, zero copy-paste.Responsive by tokens. Typography switches at 767 px; the grid changes columns and gutters per breakpoint.
5. Figma ⇄ code pipeline

Figma ⇄ code pipeline
Figma Variables → tokens.json → Style Dictionary → CSS variables + Tailwind → React → Storybook/tokens-sync — one command exports all Figma variables into
tokens.json and rebuilds CSS. Drift between Figma and code: 0./new-component — scaffolds a new component (TSX, CSS, story, docs) already wired to its token collection.
Token linter — CI fails on unknown tokens, hard-coded colours or rounded corners, so the rules of the system are enforced by code, not by memory.
6. Components

Components
31 React components grouped by job:
Actions & inputs: Button, IconButton, Input, Select, Checkbox, Toggle, RangeSlider, QuantityStepper
Data & status: Badge, NavBadge, PriceBlock, Rating, DeliveryEstimate, Avatar
Commerce: ProductCard, PartsTable, CompareTable, CartItem, MiniCart, FilterPanel, SearchBar with suggestions
My car: VehicleSelector, MyGarage, GarageItem
Feedback & structure: Toast, Card, Accordion
Navigation: Sidebar, NavItem, Breadcrumbs, Pagination
Every component is typed (strict TypeScript), themeable, keyboard-accessible and documented with usage rules, do's & don'ts and live controls.
7. Storybook

Storybook
167 stories, published on every push through Chromatic:
live playground for every variant and state;
light and dark themes switched from the toolbar;
automated accessibility checks (axe) on every story;
visual regression tests — a pixel change in a component is caught before it ships.
Open it live:
8. In use
The system was applied to a real auto-parts store concept: "find parts for my car" by VIN with My garage, a catalogue with filters and a parts table, product cards and add-to-cart feedback — built on the same tokens and components without a single custom colour.

catalogue

themes

storybook
9. Results

results
893 tokens · 31 components · 167 stories · 2 themes
0 drift between Figma and code after every sync
New component from idea to documented story in one scaffold command
Rules enforced automatically: linter + a11y + visual tests in CI
Explore the live Figma file below — it may take a few seconds to load.
This is what your design system could look like: tokens, components, light & dark themes — all in one place.
Use the page list in the top-left corner to switch between pages.
How it's built — from small to big
Tokens — the foundation: colour, spacing, type, borders. Change one, and it updates everywhere.
Atoms — the smallest pieces: button, input, checkbox, badge, icon.
Molecules — a few atoms with one job: search bar (input + button), price with discount, quantity stepper.
Organisms — complete sections of a screen: product card, catalogue filters, vehicle selector, header, mini cart.
The same atoms power every screen, so the product stays consistent — and new pages get built faster.
#Design Systems # Design Tokens # Figma Variables #Storybook # React #E-commerce # UI Kit
2 likes · 2 views · Nov 27, 2026
Token-first design system for an auto parts store: 893 Figma tokens synced to 31 React components, light & dark themes, 167 Storybook stories.