3

10 must-have components for your design system

 2 years ago
source link: https://uxplanet.org/10-must-have-components-for-your-design-system-906bf3550cd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

10 must-have components for your design system

Start to build your design system with core components

0*W6ZEUqGOlfOPX8Ht.jpg

Starting a design system can be a daunting task if all you have is a blank page/canvas in front of you. When designing the features of your product, there will be times when a library of basic components proves useful, even if it seems too early.

Starting the design process — or development process for that matter — with a basic set of components will certainly speed up the entire operation and let you focus on the user experience features. At a minimum, there will be a primary button somewhere in the app, right? But just thinking about this primary button already unleashes a string of follow-up questions:

  • What does it look like? Rounded, pill, large paddings, big font?
  • What design tokens does it need?
  • What is each button state going to look like: hover, active, focus?
  • Do I need more than one sized button? What other variations can be useful?
  • Should I have an option with text + icon for it?
  • What are the technical aspects I should think beforehand?

A must-have list of components to start with

To help you kick-start the process of deciding which components you should have, I came up with a list. Like a travel checklist for your next trip, this is the list to remember when you’re next boarding your design system journey.

Here’s a list of components, in order of importance, to keep with you when starting your next design system:

Button

0*tVl3du6F2izURwd9.png

The classic, and almost always the first example of what makes up a design system. Buttons are the culmination of every design system decision: you have typography, spacing, brand colors, radius… Everything that represents your brand, all summarized in one little rectangle item. The ultimate element your end users will always interact with.

In the button component, you might want to consider at least 3 different types of button for every interface need:

  • the primary, to represent the most relevant action on the interface
  • a secondary, sometimes seen with the outline style, that works as the complementary action to the first action
  • and possibly a tertiary button, which should be less prominent in style to not bring much attention to itself

Input

0*aE2TKIF-CCCwRrnX.png

The input component can become very extensive and complex if you want it to. It usually starts off as simple text input, but if you add icons to the right, suddenly you can have a search box or password input. In a date picker input, that icon can be a trigger to open a calendar. Additionally, faulty input can be validated and warnings or errors can be shown, but only after certain user interactions have happened to prevent showing them too early.

Coming up with all possibilities for your input when just beginning your design system might be a bit advanced. If that is the case, just start with the input base that you can eventually expand on.

Checkbox

0*TbjjGDXwU1e4BEL9.png

The product might need to give some setting options for the user to select. A classic use-case: the checkbox shown at sign-up, where we’re all guilty of checking it to confirm we have read the Terms and Conditions, when we really haven’t. 😅

Radio group

0*XuIK2St19t2WLSmm.png

When your application depends on the user selecting only one of multiple options, you might want to let them choose via the radio group. Depending on your design this can also be achieved with a button group, but the simplicity of a radio group can certainly make the interface feel lighter.

Switch

0*3-xWkbHY2dI2I1U-.png

Switches probably first started showing up in phones, but soon it took over the front-end world as well. It’s a nice little representation that toggles the option on or off. We often see it just before taking off for that trip, when flight attendants ask us to turn on airplane mode.

Dropdown menu

0*nhnK6rh1gjKEtB2c.png

This component starts to look a bit more like a combination of different components, which is often the case. For the dropdown menu, you need a button that triggers a floating box underneath, to present the user with a collection of actions.

Dialog box

0*GjwFD8uCYQSmzsbL.png

At some point in your product, you might need to grab the user’s full attention, that’s when a dialog box, or modal, can be very useful. This component overlays a background color over the rest of the interface. This reduces the noise around the action, allowing the user to read the message and take action.

0*AGMcZG3gELNYaJtQ.png

When the interface is in need of more playful and visual elements, the card can be the component that helps achieve just that. This component is normally designed to display content as if it was a playing card, which helps distinguish it’s information from the rest, or provides several pieces of similar content in a distributed manner.

Progress bar

0*XltoYcULn3gadamR.png

It’s important to show to the users the loading time between interactions in your product. The progress bar is a useful component that gives the user the feedback needed to avoid frustrations while waiting.

Tooltip

0*a3Ac3Xf7AluoNRzn.png

Sometimes we get excited to represent several items in the interface with the use of icons. With those visual choices sometimes comes misunderstanding, and that’s why the tooltip is an essential component to clarify any interpretation issues.

Besides, it’s also a way to make your product more accessible, as it will display the meaning of the element when it receives the keyboard focus.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK