PLAY
VIDEO
READ TIME: 5
Article

Thinking and Designing with Components

Author

/
Mark Malta

TOPICS:

/UX & UI
/Web / CMS / Replatforming
/Software & Product
/Agile & Delivery

Definition, Please

What’s a component? Lately, I feel like the word is being used more and more, and I wanted to break down its meaning (to me) in the digital space.By definition, component means “constituting part of a larger whole; constituent.” When you really look at how components can be used across digital design and development, it’s interesting to see how the small parts can quickly become a whole.Google put it best with this definitive illustration:

"Light passed through a prism breaks up into its component spectral colors."

A Real-World Example

How does this work when designing a product? Take a look at any interactive design and what do you see? What makes up its parts? I’m going to use the Spotify for iPhone app as an example. The first thing I see are colors, then images, followed by text, and finally navigation. I’m a visual person like that. I don’t like any of the choices of music up on the screen right now, so I’m going to head over to the navigation. Here, I find more text, some icons, and a little more imagery with a touch of color. Oh, I see my profile picture at the bottom! I tap there to go to “My Music” and look at some more text and images, eventually choosing my favorite playlist.What does this have to do with anything? Each of these repeating elements makes up components that complete the application. Images, text, and color are pretty vague, but let’s break it down.Spotify chose a very limited color palette, one that allows the album artwork to really show. With green, white, and fifty shades of gray, the designer is able to treat the pre-selected color palette as a component and no longer have to experience an existential crisis while trying to pick colors for the product. It’s already decided, and ready for use throughout.Images used inside the application are mostly either icons or album art. But looking at text and icons together, they make up some sort of action or a button. There’s another component! As components become defined during design, the faster the designer’s work can become. This also creates consistencies throughout the user experience, so I don’t get lost in the application. Take notes, Apple Music!

In Your Workflow

I’ve created design components for anything from text treatments to icon sets and anything in between. These components will always share their properties throughout the experience, and I can drag and drop these from Photoshop’s handy library tool or modify them globally with Sketch’s styles tools.DRY is an acronym in development meaning “Don’t repeat yourself.” Look, that acronym is made up of components too! Sweet. Simply put, you can write a component once and reuse it throughout a product.For example, I need to build a button with a dark gray, two-pixel-wide border that sometimes might be blue. I wouldn’t want to rewrite the entire button just to change the color. Instead, I could add a rule that keeps the basic structure of the button, but only adjusts the color in order to keep this component flexible. To save time when redesigning the 4 Rivers website, we created a three-column content grid that could showcase products in one section. In another area we used the same grid to display the restaurant locations. I was then able to reuse the same component we wrote with minor rule changes to show the same layout with different content. Theoretically, you can use components inside other components. These two can make up an entirely new component that works alongside an adjacent component that builds an entire module. Whoa.

A W3C Web Components Tangent

Let’s get nerdy here for a second. There are also “Web Components.” These are standards being put in place by the World Wide Web Consortium (W3C). They are taking consistently used web elements that require plugins or custom code and strongly suggesting that they are included in modern web browsers natively.Anyone remember flash videos? Me neither. The W3C let us do away with creating janky video players, that require us to install third party plugins just to watch a 3 minute webisode. Showing my age here. Now we can drop in an HTML5 “< video >” tag with URLs to an MP4 file and a WebM video and voila! Video content. The browser will handle playback, scrubbing, and volume on its own using the Shadow DOM. From here you can overwrite the default player styles with your own. If you want to learn more about W3C Web Components specifically I suggest reading this article.

Benefits of Using Components

Every component that is used comes together to create a website or application as a whole. So what are the benefits of using components? Remember that three-column layout we talked about? Whoops! We just found out that four-column grids tested better with users and now we have to change it. As a developer, I can go in and make a layout change once and it would take effect immediately in all sections sharing this layout. The same thinking can be applied to design, as well. Maybe the team wasn’t digging a navigational element. If you’re using your design tools responsibly, you might be able to make changes to a single file or library style that’s included in your compositions, thus making global changes very easy.The switch to component-based thinking, designing, and building will break many bad habits and solve many inefficiencies in your workflow, though it’ll take some time and reading up to implement properly, especially across a team. Start doing some research, with helpful material like this and this, and feel free to comment below with any questions you have!Remember: think big, build small.

How Brands Can Leverage AI to Enhance Customer Experience

Reframing the Web: Your Site Isn’t a Destination. It’s an Experience Platform.

Team Highlight: Cassie Tangney

Outlandish Optimism at PRPL | International Design Day 2025

Unlocking the Power of Content Organization: Insights for Museums and Beyond

Team Highlight: Jeff Katipunan

PRPL and Museums: A Partnership Built on Creativity and Impact

Team Highlight: Maria Szlosek

Team Highlight: Vic Cao

Team Highlight: Jenn Hunter

Driving Innovation in Design Management: Strategies for Fostering Creativity

Team Highlight: Anibal Cruz

Mastering Leadership with SLANT: A Principle for Effective Engagement By Bobby Jones

Breaking Boundaries With Augmented Reality

Navigating the Replatforming Process: A Comprehensive Guide for a Smooth Transition

Team Highlight: April Domingo

Team Highlight: Chris Sell

Agency Partnerships: What’s In It For You

Upgrading from Drupal 9 to Drupal 10: A Step-By-Step Guide

Team Highlight: Francesca Parker

Navigating the Replatforming Process: A Comprehensive Guide for a Smooth Transition

Purple, Rock, Scissors Wins Web3 Awards, Including Two Golds

Purple, Rock, Scissors Wins Six ADDY® Awards, including Best of Show

Transforming User Experience through Augmented Reality

Purple, Rock, Scissors Tops Orlando Business Journal's Book of Lists

Transforming the Patient Experience: Purple, Rock, Scissors' Collaborative Partnership With AdventHealth

State of the Art: How AI is Influencing Design

8 Ways to Increase Museum Visits with Digital Experiences

Functional vs. Class-Based React

10 Components Your Museum Website Needs to Succeed

Staff Augmentation: Utilizing Digital Creative Agencies for Your Business Needs

Technical Insights: Integrating Your Health App with Epic EHR/EMR Systems

Remote work? Hybrid ? We prefer flexible.

Optimization Primed: How AI is Making Businesses More Efficient

Fit to Print: How AI is Improving Business Writing

Best Museum Websites to Inspire Your Next Redesign

PRPL Summit Weekend

Cam's Tips for Working Remote

Google Update: Core Web Vitals

CX Essentials: What the Customer Experience Can Teach You About Being a Better Brand

PRPL Playlist: Creative as Folk

Google Update: Mobile-First-Indexing for the Whole Web, and What it Means for Your Website & Business

Student Design Society: Apply for Our Summer 2019 Internship

PRPL Playlist: Hits from the Crypt

PRPL Playlist: Back 2 School

PRPL Playlist: 1nn0vate

Scientific Storytelling at the Field Museum

What To Do When a Project Is on Hold

Hard Rock + PRPL

What Organization Means to a Creative Person

PRPL Playlist: Artificial Inchilligence

PRPL Playlist: BBQ Bangers

Vote PRPL in SXSW's PanelPicker!

A Comprehensive Beginner’s Guide to Automating with Ansible

Launched: Lux Capital

We've Moved to Medium!

Spotlight: Chris Reath

Content Before Design: The Fall of Lorem Ipsum

PRPL Playlist

3-Pointers: Project Manager Advice

Spotlight: Rad Kalaf

Launched: LMG

What the Internet's New TLS 1.2 Encryption Standards Mean for You. Yes, You.

Let’s Talk About SaaS, Baby.

NASA’s IDEAS Project Update: Phase 1

Thinking and Designing with Components

3-Pointers: Stellar Style Guides

Launched: Stetson University

Put on Those Beer Goggles!

Polymer Web Components Tutorial

Battle of the Jams

What’s My Title, Again? A Case for Generalists in the Web Industry

3-Pointers: Boost Tweet Engagement

Myers Briggs for Businesses

More iBeacons, Please!

Launched: 3Cinteractive

Spotlight: Katie Bartlett

Mo' Data, Less Problems: Finding Value in Big Data

What the Heck is an Agency Partner?

Briefs: Renee on Why Devs Are Cranky

How We Scrapped Time Sheets

5 Reasons Why the Office Phone is Dead

Launched: Adventist University of Health Sciences

Why Changing Careers is Like Changing Your Pants

How to Build an App Using Meteor JS

Spotlight: Adam Bullinger

Experimenting with Meteor Development

Webinar: A Field Guide to Interaction Design

Landed: NASA Partnership

Gifn: Rise of the GIF Photobooth

Briefs: Mike on Value-based Billing & Profit

iSummit Conference & Ticket Giveaway

Briefs: Adam & Renee on Magento

Chasing Perfect Weather with Mullen & CSX

Developing With Vagrant Flavors

Need Some Space? Book Ours.

Spotlight: Alex King

Designer Merch Collection

10 Reasons to Offer Flexible Work Hours

Google I/O Fanboy Duel

Close

TEAM MEMBER

ABOUT

Mark Malta

ABOUT

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.