Note: If you have a different UI than in the course, you can change it back by clicking the '?' in the bottom right corner of Figma and select 'Go back to previous UI'. Happy Figma'ing!

How to use Leading trim to cap height to baseline in Figma

This lesson is exclusive to members

Course contents

Questions

4
0
1

Course info

177 lessons / 16 hours 46 quiz questions 21 projects Certificate of achievement

Overview

Hi there, aspiring Figma enthusiasts! Are you ready to embark on an exhilarating journey with me, Dan Scott, as we unlock the full potential of our Figma skills in the dazzling realm of UX/UI Design using Figma Advanced?

Try Figma for free by clicking here.

This course is tailor-made for those who have already mastered the fundamental principles of UI/UX Design using Figma. If you've triumphed over my Figma Essentials course or have a sneaking suspicion that there's a treasure trove of unexplored tools, tips, workflows, and updates awaiting your discovery, then look no further! This course is your golden ticket to taking your UI/UX prowess to the next level.

Together, we'll start by delving into the depths of multilevel nested autolayouts, and unravel the secrets used by UX professionals by learning:
- Workflow techniques, managing design assets, styles, components, grid and column layouts like true virtuosos.
- Learn how to use Variables and put them to work creating even more complete prototypes.
- Use variables to make Light & Dark Modes + Compact & Comfortable spacing versions of your components. 
- You’ll then take your new knowledge of variables to understand and create your own Design Tokens. 
  • - Unleashing the magic of advanced animation techniques, captivating users with animated background gradients and Houdini Text.
  • - Harness the power of Lottie animation files, breathing life into your designs.
  • - Crafting responsive elements that effortlessly adapt to any device, proving your design prowess knows no bounds.
  • - Unleashing the full potential of powerful images & video masking techniques, amplifying the visual impact of your creations.
  • - Mastering advanced typography features, transforming words into captivating works of art.
  • - Embracing the realm of AI, infusing your process with its genius to elevate your skills as a UX designer.
  • - Elevate your prototyping game, conducting user tests with finesse using advanced techniques.
  • - Unveiling sticky scroll buttons that stack, animated anchor points and booleans, and a host of other captivating effects.
  • - Creating enchanting dropdown menus, hover grow effects for images, and expanding search bars.
  • - Discovering the right accessibility tools & techniques, ensuring inclusivity and usability for all users.
  • - Becoming a variant boss, expertly taming unwieldy variants to just 1 or 2.
  • - Unveiling the secrets of seamless collaboration with designers, developers, and stakeholders.
  • - Mastering the art of exporting production-ready assets, bringing your designs to life beyond the realm of Figma.
  • - Unearthing professional workflow tricks & shortcuts, saving you precious time and skyrocketing your efficiency.
  • - Plus much more exciting advanced Figma goodness along the way!

As you journey through this course, you'll acquire the skills wielded by UX professionals, gaining a profound understanding of the UX Design industry. From concept to a highly polished finish, you'll confidently manage your own UX projects ideal for your portfolio.

Throughout the course, I'll assign assignments and projects that nurture your skills and empower you to create your very own unique UX design masterpiece for your portfolio. Don’t worry if this all seems overwhelmingly advanced right now, because the BYOL crew stands ready to support and guide you, ensuring your questions get answered.

It's time to embrace the call to upgrade yourself and transcend from being a good UX Designer to a bona fide Figma UX Superhero! Unlock your potential, save the day, and let your design prowess soar!

Requirements:

- A copy of Figma (a free plan is available on the Figma website).
  • - Basic knowledge of Figma is required. I recommend watching my Figma Essentials course prior to embarking on this epic adventure.

Who this course is for:

  • - UX/UI adventurers who already have a basic understanding of Figma.
  • - Self-taught Figma enthusiasts yearning for structured guidance.
  • - Graduates of my Figma Essentials Course, hungry for more knowledge and skills.
  • - Visionaries who have developed their own unique Figma approach but crave exploration of the vast universe of tools, updates, and time-saving techniques.

What you'll learn:

  • - Diving deep into multi level nested autolayouts. 
  • - Robust components that are easy to update and hard to break. 
  • - Component properties. 
- Variables
- Design Tokens
- Advanced Prototyping using Variables
  • - Learn Workflow tips and tricks for managing your design assets, styles, components, grid and column layouts.
  • - Advanced animation techniques
  • - Animated Background gradients. 
  • - Houdini Text
  • - Animate along a path in Figma
  • - How to add Lottie animation files in Figma
  • - Build responsive elements ready for any device size.
  • - The best shortcuts & plugins to make you a more efficient UX designer.
  • - Absolute Positioning of Autolayouts. 
  • - Powerful images & video masking techniques. 
  • - Advanced typography features. 
  • - Learn to use AI in your process to make you a better UX designer. 
  • - Advanced prototyping techniques to level up your user tests. 
  • - Make prototypes better and faster using tricks & shortcuts. 
  • - Sticky scroll buttons that stack. 
  • - Video playback controls. 
  • - Animated anchor points and booleans.
  • - Create a Dropdown menu
  • - Create a hover grow effect for images.
  • - Create and expanding Search Bar 
  • - Learn the right accessibility tools & techniques  
  • - Become a variant boss. Cutting down those 100 variants to just 1 or 2. 
  • - Learn the best ways to work with other designers, developers and stakeholders. 
  • - Build a UX project from beginning to end ready for your portfolio.
  • - Export production ready assets.
  • - Learn professional workflow tricks & shortcuts.
  • - Forum support from me and the rest of the BYOL crew.
  • - All the techniques used by UX professionals
  • - 160 videos of detailed Figma Advanced Content.
Daniel Scott

Daniel Scott

Founder of Bring Your Own Laptop & Chief Instructor

instructor

I discovered the world of design as an art student when I stumbled upon a lab full of green & blue iMac G3’s. My initial curiosity around using the computer to create ‘art’ developed into a full-blown passion, eventually leading me to become a digital designer and founder of Bring Your Own Laptop.

Sharing and teaching are a huge part of who I am. As a certified Adobe instructor, I've had the honor of winning multiple Adobe teaching awards at their annual MAX conference. I see Bring Your Own Laptop as the supportive community I wished for when I was first starting out and intimidated by design. Through teaching, I hope to bring others along for the ride and empower my students to bring their stories, labors of love, and art into the world.
True to my Kiwi roots, I've lived in many places, and currently, I reside in Ireland with my wife and kids.

Certificates

We’re awarding certificates for this course!

Check out the How to earn your certificate video for instructions on how to earn yours and click the available certificate levels below for more information.

Downloads & Exercise files

Transcript

Hi everyone, have you got a button like this... where you said the padding needs to be 8 at the top and 8 at the bottom... what's this giant gap, and can I turn it off? The short answer is "Yes," go to your three little dots... and switch it to this thing called Cap Height to Baseline... look at that, let's dive into that a little bit more.

All right, what is the problem? This text box here has space at the top and space at the bottom, what is that? It's a problem found in every single Type design program... it's kind of a pain, but there are workarounds around it... in CSS, it's called Leading Trim... Lead, like the metal, Leading Trim, another word for Line Height...

Figma calls it the beautiful word, where is it? Cap Height to Baseline... and you can leave it Standard, or you can treat it more like an object... which is really handy... it gets worse, like I've made this Auto Layout button... and we're using Inter, which is the default Figma...

and it's reasonably consistent, you see, there's a bit of... space at the top, and there's a bit of equal distance at the bottom... but if I'm trying to use, like, let's hold down my 'Option' or 'Alt' key... can you see, I'm trying to use 8 at the top and 8 at the bottom... it's not really 8, is it? It's 8 plus...

another 3 pixels there, and another 4 pixels at the bottom... and it gets worse depending on the font. So I'm using Leto for my font, can you see... this one sinks down even further, what is this giant gap at the top? Look, there's only 3 at the bottom, so even though it still says 8... it's a really off-centered button, and like before...

the way to combat it, let's hit 'Enter' to go inside of our Auto Layout... let's go to this option, and we can choose 'Cap Height to Baseline'... or 'Leading Trim', nice, now it feels more like 8 to 8... there's always going to be strange fonts... it's up to the typographer to see where the cap height is... can you see, the cap height on this is...

where the blue line is, which is the top of the capital letter... that's the Cap Height... but for this particular letter, for B, it's a little bit above it. Let's have a look at some other ones... Capital T, is above it, they're all above it... for some reason, Leto, the designer decided B was going to pop out the top there...

not the same for Inter, it's a little bit below. So there's always going to be some quirkiness there... but I think that Cap Height to Baseline really kind of solves... a lot of our layout problems... especially when we start adding things like icons... so let's add an icon, 'Shift I', let's add our tick...

going to add it into my Auto Layout... and let's have this thing off... so I'm going to turn my Cap Height to Baseline back to 'Standard'... checked. and I say, Auto Layout, you are 'Centered'... what you'll notice is, there's nothing centered about it, look...

you know, like the tick is way above the B, and nowhere near the baseline... but if I go into this and say, you are this sweet new Cap Height Baseline... oh, look at that, they're centered, happy days. Mine feels a tiny bit off... because there's no descenders can you see my baseline... I've picked a word that has no descenders, nothing goes below the line...

but if I type in... that was a total accident... "Sign Up", oh, looking down at my keyboard, look up... what have you done? Can you see, now... all right, pause, I'm back, get my game face on, "You're professional, Dan"...

can you see, now there's these descenders. So now it's kind of a little bit more lined up, there you go... when you're doing buttons, you're doing text... just turn the Cap Height to Baseline... just take it on, you can't turn it on by default yet... you can set it in your Text Styles when you're making it...

so when you make a style, it can be part of that, which is perfect. One thing you might have to do is... is that you send this off to your developer, and they build it... and it ends up looking like this... with things kind of not quite lined up, just talk to them about... it's a relatively new CSS Class called leading Trim...

not leading, Leading, like the Lead metal... and if you're still having problems it might be down to the font... have a little look at it, it might be doing some crazy stuff... that is not controllable in code... you can kind of fix it by right clicking and saying, 'Outline Stroke'... but now it's not a font, it's just a shape...

and very hard to implement on the app site or the website... sometimes we do just need to live with a tiny bit of unlined-upness... there you go, Leading Trim, or Cap Height to Baseline in Figma.
  • Powered by Marvin
  • Terms of use
  • Privacy policy
  • © Bring your Own Laptop Ltd 2025