Layout & Design

Framer Update: REM Sizing for Responsive Type

Framer Update: REM Sizing for Responsive Type

Framer Update: REM Sizing for Responsive Type

Benjamin

·

3:54

·

12K views

·

About this lesson

The April update introduces REM sizing, making responsive design in Framer easier than ever. REM is a font-size unit based on a default value—typically 16 pixels—that allows you to design type scales relative to that base value. This base value can even be customized per Breakpoint, making all text layers using REM responsive out of the box. When using Layout Templates, this gives you a single place to define both your Breakpoints and base sizes per Breakpoint. You can then tweak either of them without having to redo any of your Text Styles. This update also brings big performance improvements to Framer. The entirety of the app should feel faster, from menus to quick actions. Find our full changelog here: https://framer.com/updates/april-update-2025/

Sign up: https://framer.link/yt

Follow: https://framer.link/yt-x

Learn: https://framer.link/yt-academy

0:00Yo, my name is Benjamin and I'm excited0:03to introduce REM to Framer. REM is a0:06font size unit based on a default size0:10which in browsers often is 16 pixels.0:14REM allows me to design a type scale0:16relative to that value. So 1 RAM would0:19equal 16 pixels and 1.25 RAM would equal0:2520 pixels. In Framer, you would0:27typically use textile break points for0:29your responsive typography. But these0:32have two downsides. One is these values0:34are pixelbased and thus have no relation0:37to one another. And two is the0:40breakpoint values here are not0:42inherently linked to the break points on0:45your canvas. This means if I change the0:48break points, I also need to go ahead0:50and manually update each and every break0:53point in each and every text style. REM0:58can fix both of these issues. For this1:00demo, I'll go ahead and delete these1:03text break points. Instead, let's first1:06have a look at our layout template. As I1:09mentioned, REM needs a root or a base1:13value in browsers and in framer. This is1:1616 pixels. You can find this value on1:20any breakpoint and it's especially1:22useful when defining it within a layout1:26template as this ensures it's consistent1:29across all pages of your sides with a1:32single click. You don't have to even1:35adjust this value. If you like the 161:37pixel default, you can keep it as is and1:40start using RAM directly. However,1:43customizing it can have benefits. We can1:46even define a base value for each break1:49point of our site, making every single1:52text layer that uses RAM inherently1:55responsive. So, I'm using 16, 18, and 201:59pixels. Here, my heading does not use a2:02text style, so I can go into the size2:05property and set it to rem directly. And2:09I'll go ahead and set it to four. And2:12just like that, we have made our heading2:15responsive. The values are always linked2:18to the actual break points. They will2:21work on any given page. And we can start2:24designing a type scale without having to2:27worry about break points. So we can2:29start bringing over our paragraphs and2:32our headings to rem. And all we have to2:35do is set the size to rem and pick a2:38value to start. We can set both to one.2:43And then have a look at our break2:50points. This looks okay, but maybe our2:53headings can be a bit bigger. So, I'll2:57try to use 1.2 instead of3:00[Music]3:02one. Nice. That feels a bit better. And3:06again, it's responsive out of the box.3:08Now, at any point, we could go back into3:11our layout template and decide we only3:13want two break points for all our text3:16styles. So, we can go ahead and set the3:19base value in the phone breakpoint to 183:22pixels as well, matching the tablet3:24value with a base value of 20 pixels for3:28desktop and 18 pixels for tablet and3:32phone. And that's the magic of RAM. It's3:35simpler yet more flexible as well. Thank3:39you for watching and stay tuned for more3:42updates coming soon.

Watch on YouTube ↗

More in this topic

8 Framer shortcuts you're probably sleeping on4:19
8 Framer shortcuts you're probably sleeping on
Layout & Design3K views · 2 months ago
Framer Update: Stack Sorting and Bento Grids2:16
Framer Update: Stack Sorting and Bento Grids
Framer Update7K views · 2 months ago
Sharing Vector Sets Across Projects (Vectors Lesson 7)3:41
Sharing Vector Sets Across Projects (Vectors Lesson 7)
Layout & Design1K views · 3 months ago
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)3:38
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)
Layout & Design2K views · 3 months ago
Animating Vectors in Framer (Vectors Lesson 5)4:25
Animating Vectors in Framer (Vectors Lesson 5)
Layout & Design4K views · 3 months ago
Customizing Vectors with Variables in Framer (Vectors Lesson 4)4:59
Customizing Vectors with Variables in Framer (Vectors Lesson 4)
Layout & Design3K views · 3 months ago
Replace component instances site-wide in Framer1:39
Replace component instances site-wide in Framer
Layout & Design4K views · 4 months ago
Creating and Organizing Vector Sets in Framer (Vectors Lesson 3)6:58
Creating and Organizing Vector Sets in Framer (Vectors Lesson 3)
Layout & Design3K views · 4 months ago

Create a free website with Framer, the website builder loved by startups, designers and agencies.