Design4 min read

What Is a UI Kit and How to Build One?

We break down what a UI kit is, why you need one, how it differs from a design system, and how to build your own.

You’re working on a big project, and the client asks you to change every button from blue to green. Without a UI kit, you’d have to comb through dozens (if not hundreds) of screens by hand, hunting down every button. With a UI kit, it’s one click, and every button across the whole project updates automatically. That’s what a well-organized workflow looks like.

What Is a UI Kit in Plain English

A UI kit (User Interface Kit) is a ready-made set of user interface elements: buttons, input fields, icons, cards, menus, and other components, all designed in a single style. In essence, it’s your personal library of “building blocks” that you assemble an interface from.

UI kit covers from Google and Apple in Figma

UI kits from Google and Apple

People often confuse a UI kit with a design system and treat the two as the same thing. That’s fundamentally wrong, because a UI kit is one part of a design system. A design system is much more than just a set of components. Please don’t mix the two up. And if you want to level up your skills, get comfortable working with design systems, and learn to build and maintain them, join us for the Design Systems course at the Academy.

Why Do Designers Need a UI Kit?

Let’s look at the problems a UI kit solves and why it’s worth taking the time to build one.

A Faster Workflow

This is the most obvious benefit. When you have a ready-made component library, you don’t waste time drawing every element from scratch. Need a button? Grab it from the library. Need a product card? Grab that from the library too. According to various studies, using design systems and UI kits can cut design time by up to 50%.

Navigation design in Material Design components and styles

Material Design component and style library

Design Consistency

Without a UI kit, it’s very easy for the details to drift. One page has 16px spacing, another has 20px. A button here has an 8px corner radius, one over there has 12px. An interface like that looks unprofessional and makes things harder for users.

Button designs in different styles in the Material Design design system

Buttons in a consistent style in the Material Design UI kit. Source: Material Design

A UI kit solves this problem. Every component is built in the same style, and you physically can’t use the “wrong” button, because it simply isn’t in the library.

Easier Teamwork

When several designers work on a project, the UI kit becomes their shared language. There’s no need to guess how a colleague styled a similar element on another page—just check the library. This matters especially for distributed teams, where designers may be in different time zones and not working on the project at the same time.

POV: when there is an unfamiliar component in the project

An unfamiliar component in the project

Handing Off Designs to Developers

When every component is organized and clearly named, it’s much easier for developers to turn the design into code. They see a button called “Button/Primary/Large” and immediately understand its purpose and size. That means fewer questions and fewer mistakes as the project gets built.

Naming rules in Material Design styles

Naming rules in Material Design. Source: Material Design

Changes Made Easy

Let’s go back to the example from the start of the article. The client wants to change the button color? With a UI kit, it takes seconds: you change the color in the main component, and all its instances across the project update automatically. Without a UI kit, you’d have to go through every screen by hand. We cover working with components in detail in our free Figmaster course.

What Goes into a UI Kit: Core Elements

Now let’s look at the elements a UI kit usually includes. The exact contents depend on the project, of course, but there’s a basic set that comes in handy almost every time.

Color Palette

The foundation of any UI kit. It includes the main brand colors (Primary, Secondary), state colors (Success, Warning, Error, Info), neutral shades for text and backgrounds, and gradients, if the project uses them.

Color palette in the Material Design UI kit

Project color palette. Source: Material Design

It’s important not just to pick colors but also to check their contrast. Under the WCAG 2.1 standards, the contrast ratio between text and background must be at least 4.5:1 for normal text and 3:1 for large text. To check contrast, you can use our Color Contrast Checker.

Typography

A set of text styles: headings at different levels (H1–H6), body text (Body), captions, quotes, links. Each style specifies the font, size, line height, and letter spacing.

Typography in the Google UI kit

Project typography. Source: Material Design

Projects usually use one or two typefaces: one for headings, another for body text. Often, though, a single typeface in different weights (Regular, Medium, Bold) is enough. We’ve already covered how to choose a font for a website in a separate article.

Buttons

One of the most important elements of a UI kit. Buttons come in different types: Primary (the main action), Secondary (a secondary action), Tertiary or Ghost (minimal emphasis), Destructive (deleting, canceling).

Button design in the Material Design design system

Material Design buttons. Source: Material Design

For each type, you need to think through the states: Default (normal), Hover (on mouseover), Pressed/Active (on press), Focused (in focus), Disabled (inactive). Buttons also usually come in several sizes: Small, Medium, Large. You can read more about designing element states in this article.

Forms and Input Fields

Input fields for text, email, and passwords; dropdown lists (Dropdown/Select); checkboxes and radio buttons; switches (Toggle); sliders; file upload fields. Like buttons, input fields have several states: Default, Focused, Filled, Error, Disabled.

Field state design in Material Design

Material Design input fields. Source: Material Design

Icons

A set of icons in a single style. It’s important that all icons are the same size (usually 24×24px or 20×20px), with the same stroke weight and visual weight. You can use ready-made sets such as Feather Icons, Phosphor Icons, or Material Icons, or create your own.

Icon design in Material Design

Material Design icons. Source: Material Design

Cards

Containers for grouping related content: cards for products, articles, users, projects. A card usually includes an image, a title, a description, and an action button. We covered card design in more detail in the article “How to Design Product Cards for E-commerce the Right Way”.

Card state design in Material Design

Material Design cards. Source: Material Design

Navigation

Components for moving around the interface: the site header, the footer, a sidebar, tabs, breadcrumbs, pagination. For mobile apps, a Tab Bar and/or a Navigation Bar.

Example of a Navigation bar interface

Navigation bar. Source: Material Design

Modals and Notifications

Pop-ups, dialogs, toasts (brief pop-up notifications), banners. These elements draw the user’s attention to important information or require them to take action.

Tooltips interface in Material Design

Tooltips. Source: Material Design

Additional Elements

Depending on the project, a UI kit may also include avatars, badges and labels, progress bars, skeletons (loading placeholders), tables, charts and graphs, and widgets.

Principles for Building a UI Kit: Atomic Design

Before you start building a UI kit, it’s important to understand the principle it’s built on. The most popular approach is atomic design, proposed by Brad Frost in 2013.

The idea is simple: any interface can be broken down into five levels of complexity, from the simplest elements to complex structures. It’s like chemistry: atoms combine into molecules, molecules into organisms, and so on. We cover atomic design in more detail in a dedicated lesson of our free Figmaster course.

Atoms

These are the smallest, indivisible elements of an interface. They don’t carry much meaning on their own, but they’re the building blocks for everything else.

Examples of atoms: a color, a font, an icon, a button without text, an input field without a label, a standalone label.

Examples of atoms in an interface: icons, radio buttons, buttons

Interface atoms

Molecules

Groups of atoms combined to perform a single function. A molecule already carries meaning and can be used on its own.

Examples of molecules: an input field with a label and a hint, a button with an icon and text, a menu item, a checkbox with a label.

A search field in a mobile interface, an example of a molecule

A molecule: the OKX search field

Organisms

More complex components made up of molecules and atoms. Organisms form complete sections of an interface.

Examples of organisms: a site header (logo + menu + buttons), a product card (image + name + price + button), a login form (fields + button + links).

Header design on the Awwwards website, an example of an organism in an interface

The header as an organism on the Awwwards website

Templates

The page structure, showing where the organisms go. At this level we see the page’s “skeleton” without real content—placeholders instead of text and images.

Template design for a user page in the Instagram interface

Template for a user account and posts on Instagram

Pages

The final level: templates filled with real content. This is what the user will see.

Atomic Design illustrated with an atom in the Instagram interface

The path from an atom to an Instagram page. Source: Bradfrost

The atomic approach helps you build a UI kit systematically. You start with simple elements (atoms), make sure they work properly, and gradually assemble more complex structures from them. It’s like building a house: first the foundation, then the walls, then the roof. If the foundation is crooked, the whole house will be crooked.

On top of that, atomic design makes a UI kit scalable. Need a new component? You can assemble it from existing atoms and molecules instead of creating it from scratch. Plus, because components inherit from one another, any change shows up across the whole design right away, which saves a ton of time.

One tip: study popular design systems and look at how they’re organized:

Common Mistakes When Building a UI Kit

We’ve rounded up the most common mistakes designers make when building a UI kit. Steer clear of them in your component libraries and build UI kits that are easy to use and effective.

No Naming System

When components are called “Button 1,” “Frame 234,” and “Rectangle copy copy,” you’re on a road to nowhere. A week later, even you won’t remember what’s where. And if another designer or a developer opens the file, they’ll spend hours untangling the chaos.

The fix: Set the rules on day one and use a clear naming system that groups components with slashes: “Button/Primary/Large/Default.” Yes, it feels like extra work at first, but it pays off a hundred times over.

Ignoring Component States

The UI kit has a button, but not its Hover and Disabled states. So the designer ends up drawing them by eye right in the mockup, a little differently every time.

The fix: For every interactive element, think through all the states up front: Default, Hover, Pressed, Focused, Disabled. Yes, it’s more work at the start, but fewer problems later.

An Overly Complex Structure

The opposite extreme is when a designer tries to plan for everything at once. The result is a button component with 50 variants that even its author gets lost in.

The fix: Start with the minimum. Add new variants when there’s a real need, not “just in case.” A UI kit is a living system: you can and should keep adding to it.

Components Without Auto Layout

If a component is built without Auto Layout, any change to the content breaks the layout. Longer text spills outside the bounds. An icon of a different size slides out of place.

The fix: Use Auto Layout wherever you can. It’s a basic skill for any modern designer working in Figma.

No Documentation

The UI kit exists, but nowhere does it say how to use it. When a new designer joins the team, they have to figure things out by trial and error or keep pestering colleagues.

The fix: There should be at least minimal documentation. Describe when to use the Primary button and when to use Secondary. Specify recommended spacing and sizes. You can do this right in Figma, on a separate page or inside the component.

A UI kit isn’t just a set of pretty elements. It’s a tool that saves time, keeps your design consistent, and makes team communication easier. To learn to work with UI kits and design systems like a pro, and to build and maintain them, join the Design Systems course. Students in the course build their own design system completely from scratch and use components and variables to the fullest.

Level up your skills and make the world a better place through design!

Subscribe to our regular digest

We'll send you useful articles and news from the world of AI, design, tech, and career growthdesign, and tech

Over 3,000 people already get our useful content