Pills - UI Component
Pills - UI Component
Pills - UI Component
Pills - UI Component
LinkedIn connects the world’s professionals and gives them an authentic means to establish their own professional profile online, connect with trusted contacts and extend their professional network, and exchange information, ideas, and insights to make better, faster decisions.
Overview
Art Deco, LinkedIn's design system, enables quality design and development at scale by empowering designers and engineers to rapidly build consistent experiences across a portfolio of products.
As Art Deco's component library grew, so too did the number of overlapping use cases. In particular, designers began to express frustration that they could not tell when to use a "label", a "chip", and a "pill" and that it was not clear why they had different treatments. Without clarity, LinkedIn's different products began to blend all three, leading to confusing UI elements and an experience antithetical to Art Deco.
This project highlights our process to simplify the component offering, ultimately creating a single solution that is flexible enough for Product’s needs while minimizing inconsistencies across LinkedIn's ecosystem.
Art Deco, LinkedIn's design system, enables quality design and development at scale by empowering designers and engineers to rapidly build consistent experiences across a portfolio of products.
As Art Deco's component library grew, so too did the number of overlapping use cases. In particular, designers began to express frustration that they could not tell when to use a "label", a "chip", and a "pill" and that it was not clear why they had different treatments. Without clarity, LinkedIn's different products began to blend all three, leading to confusing UI elements and an experience antithetical to Art Deco.
This project highlights our process to simplify the component offering, ultimately creating a single solution that is flexible enough for Product’s needs while minimizing inconsistencies across LinkedIn's ecosystem.
First, I needed to audit the usage of labels, chips, and pills across LinkedIn’s products. I consulted the Art Deco Guild: a team of distributed designers spread across offices, projects, and objectives, who provide the Systems team with a horizontal view across Design. They gathered usage of these three components and together we identified deviations from Art Deco’s guidance. In this process, it was important to determine if these deviations were necessary to solve a unique use case, or simply a consequence of confusing components.
The example below shows the audit of pill, chip, and label components across multiple products at LinkedIn. Note the inconsistencies in visual style, iconography placement, and interaction types.
Better Extensibility: Provide multiple size and color variants
Improved UX: Clarify the difference between "add", "edit", and "remove" actions on input pills
Guidance for mobile: Define a flow for input pills on mobile that fit existing platform paradigms
Internationalization: Ensure compatibility with all of LinkedIn's supported languages
The Link Pill: Create a component that has more visul affordance than a link, but is different from the button pattern
I explored simplifying the system by replacing the three components with a single, modular approach, with which designers could configure an affordance based on the desired interaction. While we did not end up calling it a "capsule", I'll use the term here to differentiate from the previously-used component names.
At its simplest form, the capsule contains content (static or interactive) in the middle. The cap on the right-hand side is reserved for interaction, while the left-hand cap can be used to reinforce or clarify that action with an icon.
With these guidelines in mind, the old component use cases can be solved in new ways:
Unlike with chips, labels, and pills, this new capsule could share the same size and color variants system-wide.
Content (Middle):
Static meta data
Interactive
Visual Reinforcement (Left cap):
Iconography should be used thoughtfully
Needs to reinforce or clarify the action, not decorative
Interaction Type (Right cap):
Add
Dismiss
Toggle ( + to ✓ )
User-generate Input ( + to x )
Feedback
Engineering:
Since labels, chips, and pills are used heavily across LinkedIn, I sought feedback to understand the Engineering time and effort needed to migrate to the new components. They concluded that deprecating three components and migrating products to the new “capsule” system would be prohibitive and inevitably lead to broken products. They recommended, if at all possible, to make changes to existing components to achieve our desired end-state.
Design:
After establishing this approach, I gathered feedback from designers and design leadership on simplifying our components into one. The common sentiment was that the bullet-like shape was visually awkward, potentially leading to a scenario in which UI icons were added only to create a full "capsule" shape.
Solution
With all this in mind, the best way move forward was to:
Designers and Engineers would now choose between two components: non-interactive labels, or interactive pills. Now, the label component would be visually separate (no rounded corners), clarifying its use. The revised pill component now had more flexibility by offering two additional sizes, ten new color variants (default and inverse), and designated, consistent icon placement.
By simplifying the system in this way, we also minimized Engineering effort and avoided the confusion involved in deprecating and replacing components.
Most importantly, this new pattern improves the member experience. Visually differentiating interactive versus non-interactive components provides an intuitive understanding of how the interface works. By providing consistent placement of icons and interactions, users know where to look for affordances, no matter which product they're using.
Click below to take a look at the comprehensive spec.
View more work
Art Deco on Native PlatformsiOS Design Lead
Pills - UI ComponentUI Design
Premier Agent BrandBrand Development + Visual Design
Trulia Experience Language 2.0UI + Visual Design
Twice Style QuizUser Experience + Visual Design
Marketing DesignVisual Design