Figma Type Variables | A Setup + Overview Guide

Figma's latest release on type variables is here! This video provides an overview of how to use type variables, and our initial approach to setup your type variable library!
Build a community profile + join the community: www.uicollective.co/
Resource library: resources.uicollective.co/
Request a design system audit: www.uicollective.co/design-sy...
0:00 An Introduction
0:28 Type Variables Overview
5:31 Brand Collection
10:32 Alias Collection
18:36 Mapped Collecton
30:31 Tying Everything Together

Пікірлер: 69

  • @wonsunparque4788
    @wonsunparque47882 ай бұрын

    I think this is a bit over-engineering, especially since this is a brand new feature and we don't exactly know where the optimal place is, it is better to build a simpler version and only expand when needed. Especially in case if Figma makes some changes and we may need to alter our approach later. Also, it may be better to organize the aliases simply by style like "body", "H1", "caption", etc, and then within the group of "body", we have "font family", "weight", "line-height", etc. This makes reading and selecting them for font styles later much easier and less prone to error.

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    Really great call out on organizing aliases like body, H1, etc.... This is something we discussed internally but I left out of this video. Will be filming another video soon around different approaches. + agreed on your first point. Had mentioned a couple times in the video this is just the approach that we're taking now, but becuase it's a new feature, it could change over time. Really curious to see how other designers choose to approach this! I'm really interested to see if Figma ever scraps styles entirely unlike with this launch where the variables are just wrapped up in styles. To me, it seems as if it was released half-baked.

  • @jainulabudeen3
    @jainulabudeen32 ай бұрын

    dude this looks quite complicated. do we actually need alias and mapped collection for typography? when will these branches and alias become useful?

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    Typography is quite a complicated subject. The argument could be made to skip alias, but it's best practice for me to include an Alias. You need mapped because there is where you break out your variables into header, and body, which can't be done at the brand level.

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    Although as mentioned in the video, this is the initial approach we're taking :) This release did just come out yesterday.

  • @reneklokkerholm1453

    @reneklokkerholm1453

    2 ай бұрын

    Think the same the only feature need is could make different weight on text and dont need to have a style for alle weight need in diffrent sizes

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    @@reneklokkerholm1453 Depends on the needs of different orgs for their design system

  • @ounasi
    @ounasi2 ай бұрын

    This is obviously a half-baked feature with existing design requirements but a rough presentation. In my opinion, this feature can be ignored for now, and Figma will definitely bring new operational logic in the future.

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    It's clear it was released half-baked.... just like variables at the start.

  • @Underhills
    @Underhills2 ай бұрын

    Figma should add an easier way to directly see the px values of the alias variables in the variables panel, now we need to detach the alias and then undo the operation in order to get that info just like you demoed. It could be a preview on hover, and perhaps tie that to a view option that could be defined in a variable settings section or simply in the view options in that top left global menu or something. The way it works right now is too quirky. The variable feature is out of Beta, but as you pointed out it's still a bit buggy at times. 🐛

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    100% agree. Just like variables originally, I feel it was released half-ready.

  • @Underhills
    @Underhills2 ай бұрын

    Why did you assign your heading in an invers manner, with secondary to the primary weight and the primary to the secondary weight? I went back and forth to see if I could understand that but never did.

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    This is just an example. I did it to show you can play around with different combinations :) No real reason

  • @mikedawson9073
    @mikedawson9073Күн бұрын

    If I have two brands that use different colours and fonts, does it make sense to define these in the same 'theme' collection? What I'm envisioning is that I would have a single brand dropdown in Figma (mode selector) which would allow me to toggle between brands - having the colors and font family update in unison. Are there any drawbacks I'm not considering? Another question - how do you enable the designers consuming the system to add brands (assuming they don't have access to variables library/theme variables). The use case is theming a UI for a client/guest customer rather than a house brand - which we would set up as the design systems theme. Thanks!

  • @UICollectiveDesign

    @UICollectiveDesign

    Күн бұрын

    It might make sense to have two brand collections for your first point. If the designers are subscribed to the library, they'll be able to consume and swap brands :)

  • @iPAINTCODE
    @iPAINTCODE2 ай бұрын

    Font styles must be a typo from Figma or they’re adding a new option for CSS supported font-styles in the UI. Then again it’s mainly 2 values used in CSS but still a property of the spec. If you watch their intro video they put it under Strings but there’s no way to use it in the text properties panel. W3C: The font-style property is mostly used to specify italic text. This property has three values: normal - The text is shown normally italic - The text is shown in italics oblique - The text is "leaning" (oblique is very similar to italic, but less supported)

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    Something similar to what our dev lead said!

  • @anoldasgupta
    @anoldasguptaАй бұрын

    Is there any way if we could use % in letter spacing as I was trying it changes to pixel only...as we know the letter spacing varies basis font size...pls suggest a best practice to overcome this problem...

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    Not possible with Figma right now

  • @cyberfiber2873
    @cyberfiber2873Ай бұрын

    Please help me, how do i use toggle button to change font style? For example when i toggle it on it will change to Poppins. But if i toggle it off, it will change back to Inter. Just like how toggle dark mode & light mode works except this is fomt style please 🙏

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    Why not just use modes for this? Why do you want the toggle functionality?

  • @kareemmohammed918
    @kareemmohammed918Ай бұрын

    great!! Now, how will this method be prepared and presented to developers in a simplified manner?

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    Prepping a video when I am back from vacation on this topic :)

  • @Akram-UXUI

    @Akram-UXUI

    Ай бұрын

    @@UICollectiveDesign Enjoy your vacation. I am waiting for you and looking forward to seeing the video on this topic

  • @kareemmohammed918

    @kareemmohammed918

    Ай бұрын

    @@UICollectiveDesign We wish you a pleasant holiday and we look forward to seeing the video on this topic

  • @AmishEspacial
    @AmishEspacialАй бұрын

    Hi! Thanks for the video. I've created a collection with its typography and created a desktop and mobile mode. I have also created (previously) both breakpoint styles: desktop and mobile. Now, is the use of a mobile style still necessary? How do my developers read the variables I have applied to the typography in both modes? The issue is that if I create a card and apply the mobile mode: the whole card will be mobile mode but if the dev clicks on each piece of text, it will still appear as a desktop style (with the mobile value variables). I don't know if this is understandable :D

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    Just travelling right now. Will respond asap!

  • @AmishEspacial

    @AmishEspacial

    Ай бұрын

    ​@@UICollectiveDesign I've already talked to the devs and there is no need for styles as long as they see the variables tokens when they set it up in their environment.

  • @hardboiled2000
    @hardboiled2000Ай бұрын

    The company I work for has multiple brand & we design for web & mobile, we are trying to setup mode swapping to cut down on reskinning work (and hell of a lot of typog style swapping), whats a good approach?

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    Are there specific issues you're facing with this?

  • @tifwu1

    @tifwu1

    Ай бұрын

    i'm facing a similar issue! right now i have "brand 1 light, brand 1 dark, brand 2 light, brand 2 dark etc" set up in my colors, but in typography i would be setting up "brand 1 desktop, brand 1 mobile, brand 2 desktop, brand 2 mobile etc". i'm experiencing a bit of a mindfuck for how to set up all the modes and making the swapping fast between frames. is this the same issue @hardboiled2000 ?

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    @@tifwu1 Working on a vid now aiming to have up early next week

  • @DerrickRollins
    @DerrickRollins2 ай бұрын

    Our design system needs to support three platforms (web, iOS, Android) each with their own font family. Web also has size variation depending on the breakpoint. Will you be covering how to properly set that up in a future video?

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    We will indeed! If you have immediate questions request to join our Slack channel. It's a complex topic that should also involve developers.

  • @Peacemaker336

    @Peacemaker336

    2 ай бұрын

    I would be interested to understand how it works too. Our design system supports three platforms (iOS, Android & Web) with iOS and Android using systems fonts such as SF Pro and Roboto with font styles that aren't similar (e.g., iOS uses only one body style vs. Android uses 2 body styles, etc).

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    @@Peacemaker336 Request to join our community I can put you in touch with my partner Mike who is an expert in cross-platform

  • @Peacemaker336

    @Peacemaker336

    2 ай бұрын

    @@UICollectiveDesign Thanks, just joined. Looking forward to getting in touch with Mike 👍

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    @@Peacemaker336 Just accepted. Message me when you're in :)

  • @timothychinye6008
    @timothychinye6008Ай бұрын

    Seems like I'm going to continue using Tokens Studio

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    You are not alone!

  • @nicolasmatiasnegri4743
    @nicolasmatiasnegri47432 ай бұрын

    I really like this video but what is the advantage to use these tokens instead of styles? Isn't simplier just to use styles?

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    One reason is that styles doesn't allow for changing of font sizes, etc.... between modes

  • @nicalorber8659

    @nicalorber8659

    Ай бұрын

    @@UICollectiveDesign When you say "between modes" - I'm assuming you mean between different screen sizes? Like Instead of have a H1 and a H1 Mobile, you would just have Header, and then select if it's mobile or not. .... My question is this - on a lot of sites I design - I don't change the type a ton between desktop and mobile. Mostly, just the big headers change size... I'm trying to understand when it's better to use variables vs styles..... Seems like when you'd have a certain amount of changes per states (screen sizes)..... Do you agree?

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    @@nicalorber8659 Yup, that's what I am referring to when referencing mode swapping. I'd say use variables but just connect them to styles. It will offer the flexibility to use modes and the benefits variables can offer.

  • @shibly95
    @shibly952 ай бұрын

    Man, I am wondering, why should we make it this much complex when we can just set font styles?

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    Variables feed font styles, and you have to think that eventually all styles are going to be replaced. Right now I feel with this release it's about setting the foundations... Some styles might also share the same properties.

  • @wonsunparque4788

    @wonsunparque4788

    2 ай бұрын

    One of the key advantages of using variables is that they are context-aware with "modes". This means that we can pre-determine type variations based on different context such as mobile, desktop, platform/OS, etc, and at design time, the font styles can change automatically. (SF on iOS, Roboto on Android, etc) This saves us significant amount of time.

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    @@wonsunparque4788 Very well said!

  • @michaelschultze3595
    @michaelschultze35952 ай бұрын

    Thanks a lot. But with the number of settings and then all the scrolling to find the desired entry (see Time Stamp 32:00 and further), I prefer to stay with my settings. Styles instead of variables :-)

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    Can also scope your color variables to reduce scrolling :) but hey, it's all personal preference at the end of the day :)

  • @michaelschultze3595

    @michaelschultze3595

    2 ай бұрын

    @@UICollectiveDesign For Sure. Thanks 👍

  • @Defehktzor
    @Defehktzor2 ай бұрын

    Is your "Brand" Collection what Figma call Primitives? And Alias = Semantic and Mapped = Component level variables? I see a lot of different naming conventions

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    Mapped is very rarely component level. You want to avoid component specific tokens where you can.

  • @Defehktzor

    @Defehktzor

    2 ай бұрын

    @@UICollectiveDesign Alright, I also see that they "Component level" tokens are at heavy debate at Figma is "Brand" your equivilant to "Primitives" and "Alias" your "Semantic"? I have been watching pretty much all your videoes, but I am still not sure about the Alias and Mapped layer, what is the difference and what do you believe each collections should contain? Do you have documentation somewhere? I also bought and tried to download your Figma file from the community page yesterday, but download did nok work. Sent you an e-mail regarding that.

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    @@Defehktzor Yup! Thats right. For difference between alias and mapped, I would watch out setup guide video from November. Re: file... found the email. It was in my spam which is why I didn't get it. Will respond and help you out asap!

  • @sfernandezponce
    @sfernandezponce2 ай бұрын

    Thanks for putting this together. Could you please share the link to more info about the collections? - kzread.info/dash/bejne/oJONt7x_Yqvcaco.html I have watched a couple of videos from UI Collective on variables and I am still trying to wrap my head around this. 🙏

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    kzread.info/dash/bejne/iXWI3KuEYKTPaKw.html I would watch this one!

  • @sfernandezponce

    @sfernandezponce

    2 ай бұрын

    @@UICollectiveDesign That vid was very useful. Thank you!

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    @@sfernandezponce Glad it helped!!

  • @yakaspectrum
    @yakaspectrumАй бұрын

    it's so hard... figma turns into photoshop step by step. There are so many things that are not intuitive: I created a new file and for some reason I see tons of variables in the new project. I don't know how to manage these cross-file variables... I feel like an old grandpa with the latest technology in my hand

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    It is becoming quite complex!! You are seeing the variables likely because you are subscribed to an already published library.

  • @yakaspectrum

    @yakaspectrum

    Ай бұрын

    @@UICollectiveDesign 🥰

  • @yasirnabi6738
    @yasirnabi6738Ай бұрын

    This figma shit is getting complicated day by day , Lets jump to framer and build Product direct ,, WTF ,, Grow up . this is getting too technical ,

  • @UICollectiveDesign

    @UICollectiveDesign

    Ай бұрын

    It is getting quite complex!!

  • @pixellink.design
    @pixellink.design2 ай бұрын

    Great getting started guide, maybe we can do a collaborate some time love your work. @UICollectiveDesign

  • @UICollectiveDesign

    @UICollectiveDesign

    2 ай бұрын

    Thank you! Happy to talk more :)