[Foundation Series] The anatomy of a UI Kit. What it is and how to use it in Figma

updivision

UPDIVISION

Posted on November 22, 2021

[Foundation Series] The anatomy of a UI Kit. What it is and how to use it in Figma

This article is part of the Foundation series of our UFOs UI/UX Framework. The framework is a tool we created based on our 10+ years of experience in building complex software and thousands of hours of design meetings and feedback. Developers, designers and entrepreneurs can use this framework to gain a better grasp of the UI/UX process and build awesome apps as a result. To learn more about the UOFs UI/UX Framework and each framework component, please go here.

This article is part of the “F” from UFOs, the framework component that talks about the backbone of UI/UX design, the elements almost every design relies on.
 

If you`ve heard of UI kits, you probably know they're great for speeding the design process and for helping developers implement designs easier. However, UI kits are also a great tool for understanding the UI/UX design process. By reverse-engineering UI kits created by professional designers, you can get a fairly good idea of what UI/UX is literally made of.
 

The anatomy of a UI Kit

At its most basic, a UI Kit is a collection of frequently used UI components and some fundamental design style guides. Good UI Kits usually follow a design system. Here are a few examples of several free to use UI Kits:

Material Kit

Now UI Kit

Soft UI Kit
 

In general, if you download a UI Kit, there's a big chance it will come with some of the elements listed below.
 

UI components

Depending on the kit, it can include anywhere from dozens to hundreds of UI components. These can vary in complexity, from the most basic building blocks such as buttons and input fields to more advanced elements like tables.UI components may come in different:

  • sizes: most UI Kits define standard sizes (small, normal, large) at least for basic elements such as buttons, input fields or dropdowns.

  • styles: again, most UI Kits come with at least two or three styles of buttons: rounded buttons, square buttons, outline buttons, buttons with icons etc.

  • states: this is a big time-saver since you can have various states of the same element already designed (enabled, disabled, on hover, clicked etc.)
     

Example of different button sizes in a UI kit
Different types of buttons in a UI Kit
 

Example pages

Even the most imaginative people would have a hard time picturing how all these UI components fit together. This is what example pages are for. Most UI Kits include example pages as a way to demonstrate what you can build with the kit and how it might look. Some of the most frequent example pages include:

  • Dashboards: since they are generally complex and include a lot of elements, dashboards are a good way to see what the UI Kit can do.

  • Tables: most admin panels include a lot of tables, so example pages usually feature a table page with CRUD operations.

  • Login and register pages: one of the first things users will see, so most UI Kits include these as example pages

  • User profile: another feature commonly found in most apps and in most example pages
     

Typography

UI Kits usually come with typography rules which are meant to:

  • define text sizes: headlines (usually h1 through h6) and body
  • define text styles: primary text, muted text, success text, warning text, captions etc.  

Example of typography in a UI kit
 

Colours

UI Kits usually include a color scheme which is applied throughout and can be broken down into various categories, depending on how the kit is organized:

  • Primary colors (one or two) - used in pure form for primary actions, active navigation elements etc. The primary color is usually the theme colour, what you think of when you think of that UI Kit. Of course, you can have various shades for each primary color.

  • Background colors - usually neutral, a lot of gray tones

  • Accent colors - all the yellows and greens and reds for signaling various states. Can also include other colors.
     

Example of colors in a UI kit
 

Icons

Some UI Kits also include the icon packs that were used throughout the designs or a link to the icon pack plug-in. In Figma, for example, you can install the plug-in and import the icons directly.
 

Elevation###

Some UI Kits define elevation rules for the components. Essentially, these are shadow styles, so that, based on how big the drop shadow is, you can have elements which appear closer or further away from the background.
 

Example of shadows in a UI kit
 

Grids###

Sometimes UI Kits also come with grids for various container sizes, from small to wide. Usually, these follow 12 column Bootstrap grid options.
 

Using a UI Kit in Figma

As comprehensive as a UI Kit can be, there's a big chance you`ll need some basic tailoring to make it your own. And to design an app that stands out. The following section deals both with how to use an UI Kit in Figma and how to customize some basic presets.

If you want to see a UI Kit at work, check out our case study on how we used the Backpack Figma Template to design the administration for a tech dictionary.

 

Getting started

If your UI Kit comes as a .fig file, upload it in Figma either by dragging and dropping it or by clicking the New > Import button and selecting the file.

Alternatively, you can go to the Community section in Figma and search for a UI Kit. By duplicating a file from the Community (click on Duplicate), the file becomes editable in your own Figma account and you can use it as you like.

Select the frame size you`ll be working with - Figma comes with predefined sizes for phone, tablet, desktop, which you can see on the right-hand side when you create a frame. If your UI Kit comes with predefined grids, you can activate the grid option from the Layout Grid menu.
 

List of grid styles
 

Copying components

Copy the ready-made UI components and start using them in your design. You can do this in several ways:

  • select an element and use the regular CTRL-C CTRL-V commands
  • select an element, hold ALT and drag. This will create a copy of that element.
  • use the Assets menu to identify the needed component and then simply drag it in your workspace  

Example of components in Figma
 

The copies you create are children of the parent component. This means that whatever changes you do to the parent, they will also be applied to the child components. Parent components are represented through a diamond symbol, while the children are symbolized through an outline.
 

Components and instances in Figma
 

Overriding presets

Most of the things mentioned in the UI Kit Anatomy section, such as colors, typography, elevation and grids come as predefined styles in Figma with your UI Kit. You can see them under Text Styles, Color Styles, Effect Styles and Grid Styles. You can edit them by clicking the Edit Style button.
 

Example of pre-defined styles
 

When you edit a style, all components which have that style applied to them will be edited.

Of course, you can also detach a component from its predefined style. This will allow you, for example, to edit the colour of that component only and maybe define a new color style based on that. To do that, select the new color and click the + button in the Color Styles widget and give the new color style a name.
 

Example of detash style
Create a color style in Figma
Create a color style in Figma, last step
 

In a similar manner to styles, you can detach child components from their parent components. Child components can be edited separately from their parent component, but that's available only for stylistic changes (like changing the colour). If you want to resize a child component, you need to detach it from its parent first, resize it and recreate it as a parent component itself.
 

To detach a child component, simply right click it and select “Detach instance”. To create a parent component, click the diamond symbol in the upper menu.
 

Create component function in Figma
 

Finding things easier###

UI Kits can feel huge and overwhelming. To find things easier you can search directly in the Assets menu for the component you need. This will show you thumbnails of the existing components for that keyword.
 

Assets menu in Figma
 

Go to main component function
 

Some UI Kits even have Variants put in place, so you can find versions of the same component easier. In Figma, Variants are used to quickly switch between different styles or states (active, inactive, pressed, on hover) of the same component. If your UI Kit comes with Variants, select a component and you will see in the right-hand panel dropdowns and toggles allowing you to change between various options for that component.
 

Variants under a specific component
 

Now imagine doing all this from scratch. Sounds kind of time-consuming and a hassle to organize. That's why UI Kits are a great starting point for design and development projects. And also a great way to gain a more structured understanding of the UI/UX fundamentals.

💖 💪 🙅 🚩
updivision
UPDIVISION

Posted on November 22, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related