Skip to content
tezvyn:

Design Systems: Stop Reinventing UI Components

Source: Wikipedia: Design systemEasyHow cards are made

A design system is a shared library of reusable UI components and rules, acting as a single source of truth for designers and developers. It ensures a consistent look across apps without rebuilding common elements.

Why it exists

As teams and products grow, inconsistency and inefficiency creep into UI development. Without a central guide, designers and developers reinvent the wheel, creating slightly different versions of the same button or form. This leads to a fragmented user experience and wasted effort.

The mental model

A design system is like a shared box of LEGOs for an entire company. It contains not just the individual bricks (components like buttons, inputs, cards) but also the instruction manuals (style guides, documentation) showing how to combine them into consistent and stable models (UIs). It's the single source of truth for both design and engineering.

How it works

A design system centralizes UI standards into a framework. It typically includes three main parts. First, a style guide defines the brand's visual identity: colors, typography, spacing, and iconography. Second, a component library provides pre-built, reusable UI elements (e.g., buttons, modals) as both design assets for designers and coded components for developers. Third, comprehensive documentation explains the principles, guidelines, and best practices for using the system, ensuring everyone speaks the same language.

When to use it

Use a design system when your organization is scaling and needs to maintain a consistent user experience across multiple products, teams, or platforms (web, mobile). It's crucial for improving efficiency, as it prevents designers and developers from solving the same problems repeatedly.

When not to use it

For a very small, single-product team or a one-off project, building a full design system can be overkill. The initial investment in creating and maintaining the system might outweigh the benefits if there's little need for reuse or cross-team consistency. A simple style guide might suffice.

One canonical example

A classic example is a "Button" component. The design system defines its properties: primary and secondary variants, different sizes (small, medium, large), states (default, hover, disabled), and accessibility requirements. A designer uses the button from a Figma library, and a developer imports the same button from a code library (like in React or Vue), ensuring the final product perfectly matches the design.

Interview question

What is the primary benefit a growing organization gains from implementing a design system?

  • a.It replaces all existing documentation with a single, static set of rules that prevents any future UI updates.
  • b.It centralizes UI components and guidelines, ensuring a consistent user experience and improving development efficiency.Correct
  • c.It enables each product team to independently create unique UI styles without central oversight.
  • d.It completely automates the design and coding of user interfaces, removing the need for human designers and developers.
Why?

The card states a design system acts as a "single source of truth" to ensure "a consistent look across apps" and is "crucial for improving efficiency" by preventing reinvention. Option C is incorrect because a design system aims for consistency and shared standards, not independent, unique styles.

Just read this? Test yourself on what you have been reading.

Read the original → en.wikipedia.org

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles