Shape
Blog / / Component Design

How to Cheat at UI Design

This month alone I have built three polished animated landing pages and an entire CMS and I didn't:

This month alone, I’ve built 3 polished, animated landing pages and an entire CMS but I didn’t:

🚫 Do it from scratch
🚫 Use AI
🚫 Use a UI kit
🚫 Build a design system
🚫 Use a no-code tool

So how did I do it? Well, I used two big cheat codes.

I'm going to show you how to start designing before you even open Figma and find unlimited inspiration, how to create dynamic designs that are functional out of the box, and how to do the heavy lifting of building a product—even if you don't know everything about code or design.


Cheat Code No. 1: Work Backwards

Modern front-end web and app development involves a tech stack, and the most popular tech stack right now uses React and Tailwind. So, as a designer, I decided to do the same.

Now to back up a little bit: if you don't know, React is a JavaScript library that developers use to build websites and user interfaces. So when we hand off our static designs to our front-end developers, this is the language they're coding them in. Tailwind CSS is a styling framework that makes it easy to customize how everything looks.

Logos of React and Tailwind CSS displayed side by side on a purple gradient background, with 'React' written below the React logo and 'Tailwind' below the Tailwind logo
React and Tailwind

So, as a designer, instead of starting with static designs in Figma, I used an existing UI component library. Now, these are nothing new. Front-end devs and builders have been using these frameworks for a while now, but I'm not talking about any old UI component library. I'm talking about the new generation of UI components that are making it possible to build crazy-looking stuff like this ten times faster.

Web page showcasing a search tool for Mac titled 'Find the stuff on your Mac,' with a search bar, a results table, and options for multiple drives. Pricing tiers are displayed below the main section.

For example, imagine you're designing a popover component or a navigation menu. Instead of starting from scratch, noodling thousands of interactions in your prototypes in Figma, and annotating what you mean for the devs,

A Figma workspace showing a documentation page with a title, overview section, and connected screens demonstrating a mobile app flow. Annotations and design elements are visible.

you can grab a UI component from a library that's already fully designed and fully coded and developers can plug it directly into your app.

Dashboard interface with graphs, team member management, subscription metrics, and various settings, including payments and cookie preferences. The interface uses a black and white theme with a purple background.

This saves so much time between design and code and ensures consistency between the two because:

✅ It's built for React.
✅ It's completely styleable using Tailwind (without wrestling with weird defaults
✅ It doesn't require you to pick entire color palettes and color scales yourself.
✅ It's copy-and-paste (so you don't need all of those code dependencies)
✅ It includes the sickest animations and micro-interactions (like Framer Motion, built right in).
✅ They also have UI kits for Figma so you can design with them.


Getting started with UI Component Libraries

Here's the process I would use if I wanted to get started with these UI component libraries.

Step 1: Communicate with your developers

The first step would be to communicate with your developers. Have a conversation with them about what they're using. Are they already using React? Do they have a framework in mind? Is there one that you like that they would consider implementing?

Step 2: Get familiar with the UI component library

The next step is to familiarize yourself with some of these UI component libraries. You can sit down together and go through them to see what might work and what might have the components you need. There are some UI component libraries out there with amazing documentation that are also open source. You can go through all of this in detail and see if it'll work for your project ahead of time before you spend a ton of upfront effort implementing things.

Step 3: Grab the Figma UI Kit

The next step is to grab the Figma UI kit and then start using all of the components to assemble your UI screens and flows and customize them.


Example:

Here I am inside of Next UI Figma kit (which they've recently renamed to Hero UI). You can see that there are themes here in dark mode or light mode.

A design file in Figma displaying a theme configuration screen with various color palettes, spacing options, typography, and shadow settings against a dark background.
Tailwind color schemes

I'm going to grab one of these Tailwind breakpoints (1280 by 768). Then I'm going to create a template page. I'll start assembling these into screens. I’ll paste this here, convert it to a frame, and name this frame "Dark Container."

Figma workspace showing three rectangular white frames aligned horizontally on a dark background, used for prototyping or layout design.
Tailwind breakpoint (1280x768)

With that, I’ll switch the color selection over to black so that my background's dark.

Figma workspace displaying a single dark container element with a purple and pink gradient background. Local variables and styles are visible in the side panel.
Dark container

Then I can start dragging in these components. I'll go over to the Assets tab, search for "tabs," and use that to create my main navigation. You’ll see it’s in white right now, so it doesn’t quite work with the background.

Figma workspace showing a navigation bar with light mode styling, displaying tab options like 'World,' 'Business,' and 'Arts' on a white background.
Dark Container - White Nav

To fix this, all we need to do is select the container, go over to the Appearance property, and click on this little "Apply Variable Mode", button then select 'Tokens' and click 'Dark'. There it is! You'll see it switches right over to dark mode.

Figma workspace with a dark container featuring a tab component. The side panel shows styling options for color tokens and component variants against a gradient background
Changing Appearance tokens - Dark mode

If I want to test in light mode, I duplicate this, select white for the background, name this "Light Container," go over to Appearance, select that token, and switch it to light. You can now just drag and drop components back and forth between light and dark and watch them change automatically!

Now we have all of these properties and variables that we can toggle on and off. For instance, underlined here—that's great for navigation. We can remove the background, leave the button hover action.

Figma workspace showing a navigation bar in dark mode with tabs such as 'World' and 'Business,' and the selected styling properties displayed in the side panel.

We can drag in an avatar component in for our profile.

Figma workspace displaying an avatar component properties panel on the left, showing options for size, radius, and color. A dark container in the main area contains a navigation bar with tabs like 'World' and 'Business.' The interface is set against a pink and purple gradient background.

This is a little big, so we go over to the properties and select the small size. Now it's nice and proportional. Then we just keep building.

Figma workspace displaying a dark container with a navigation bar containing tabs like 'World,' 'Business,' and 'Science,' alongside a small avatar icon in the top-right corner. The background features a gradient of purple and pink hues.

I’ll drag in this table component onto the screen as the start of my dashboard, customize it by toggling off the selection text box, and add sorting. We can add cards, chips, and keep building.

Figma workspace showcasing two variations of a search tool interface side by side, each displaying a results table with file details like type, creation date, and storage location. The workspace includes a purple gradient background.

What's amazing is that this is all available in code. You can refer to this component when talking to your developers—they can see it and the functionality.

Documentation page featuring a dark-themed code snippet for implementing tabs and card components in React. The side panel lists additional components like Dropdown, Form, and Modal, against a gradient purple and pink background."
React code for Next UI (Hero UI) Tab Component

If you're a designer working with developers, you can shortcut so much of the process by starting with these pre-designed components and just styling them. If you're a developer who's not confident in your design skills, these are really well-crafted and ready to go, giving you a great boilerplate to start with.

Now we have more time for the really important stuff: focusing on the user flows and experience.

Normally, when I do this, I collect inspiration from all over the place—taking screenshots or screen captures of apps, doing market and competitor research, and seeing what my users are currently using and how they're solving problems.

Three desktop mockups of a design course homepage displayed in Figma. On the right, a student ID card design sits on a purple gradient background with decorative elements.

Cheat Code No. 2: Mobbin

This next cheat code does all of that for you, and it’s called Mobbin. This is honestly one of my ride-or-dies because we’re talking about a catalog of screens, flows, interactions, and screencasts of the best apps out there. It’s got a Figma plugin so you can bring all of these into Figma and work with them.

This is Spotify's Wrapped. Here’s the flow of all the screens for that.

Grid of Spotify Wrapped mobile app screens featuring vibrant colors, personalized music statistics, and animated visuals for end-of-year summaries.
Spotify Wrapped Screenflows on Mobbin

I copied it from Mobbin, opened the plugin, and pasted it right into Figma. It brings all of those screenshots in so I can look through everything and get inspiration.

Figma workspace showing a collection of Spotify Wrapped mobile app screens alongside a Mobbin plugin preview. The workspace includes instructions, student ID cards, and desktop layout designs for a product homepage.

You cannot afford not to subscribe to Mobbin if you are a designer or developer who cares about making great products.

Some things to note about using UI Component Libraries

Remember, you don’t want your codebase to get out of control and unmanageable. Make sure you aren’t just trying to build the kitchen sink out of this. Use these tools smartly and sparingly, and understand the experiences you want to create. Also, ensure everything is well-documented, and make sure all components have their own unit tests to catch bugs early.

What I love about Next UI, for example, is that it integrates with Storybook so you can ensure your components function properly. Next UI isn’t the only component library, though. Here is my full list of the best, hottest UI component libraries, why I love them, and how to use them.

I also have a course where I teach all of this stuff, so if you want to learn more, check it out at DesignerUp.