Making flexible auto layout tool tip components in Figma.

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 82

  • @jjgangi
    @jjgangi Рік тому +4

    Would have never figured this out without this video. Not sure if that's a compliment to the creator, or an insult to the usability of Figma.

  • @thasr81
    @thasr81 Рік тому +6

    I absolutely these videos. No fluff, no waffling, just pure learning, straight to the point. Love, love, love.

  • @xpk.creative
    @xpk.creative 2 роки тому +14

    Absolute positioning is a such leap forward guys, much appreciated feature that makes Figma out of this world! Cheers ;)

  • @MotivatingMarketingTech
    @MotivatingMarketingTech Рік тому +1

    This video just fried my brain in the best possible way. WOAH!!!!!

  • @BobbyCharlz
    @BobbyCharlz 2 роки тому +11

    Wow, I learned so much in quite a short bit of time. I am blown away at the depth of Figma. Just when I think I’m getting a handle on it, so much more comes out that I’m eager to learn and get after. Thank you for the great video. 👍

  • @cruisysoozi
    @cruisysoozi Рік тому +1

    I 💖this, it's exactly what I needed to know. It's demystifying Figma, thank you. Great explanation and pace.
    Something interesting happens though when I place an instance of this tool tip into another component... The bubble reverts to a small size and leaves the text hanging out. The horizontal and vertical resizing then need to be reset to 'hug' and it's all good.

  • @dmitry_zakedonsky
    @dmitry_zakedonsky 2 роки тому +1

    When I tryed create component with layout, it was very complicated method. This one simple and advanced - thanks a lot!

  • @stefanyconde2853
    @stefanyconde2853 Рік тому +2

    This video has made my day happier!

  • @z-h-d
    @z-h-d 2 роки тому +7

    Didn't know about outline mode! wow

  • @MrJmhess77
    @MrJmhess77 Рік тому +1

    BRAVO, BRAVO!! ENCORE!!! do you have more videos? Very easy to follow along and understand.

  • @lewisdesignplus
    @lewisdesignplus Рік тому +1

    This was super helpful. Thanks Miggi!

  • @FerdiCildiz
    @FerdiCildiz 2 роки тому +7

    I would use auto layout for the bubble and arrow.

    • @surajtarani5710
      @surajtarani5710 2 роки тому

      Could you elaborate please?

    • @FerdiCildiz
      @FerdiCildiz 2 роки тому

      @@surajtarani5710 you can connect arrow and the bubble together with auto layout so it can be easy to enlarge/shrink by content. Also you can place the arrow easily with paddings.

  • @Dupdopy
    @Dupdopy 2 роки тому +2

    Simple and to the point. Thank you!

  • @TheMrBrendo
    @TheMrBrendo 2 роки тому +3

    Amazing! Thanks for taking your time on this and showing the steps, you rock!!!

  • @jarediledundee
    @jarediledundee Рік тому +1

    Exactly what I was looking for. Many thanks!

  • @Studio-sapana
    @Studio-sapana 2 роки тому +1

    hey, after practicing 2-3 times i could make responsive component. This is superb :)

  • @adamstuartclark
    @adamstuartclark 2 роки тому +3

    Lovely. I could be beneficial to actually have two text layers, one for the main body of text and another for an optional heading, which you could also control with a visibility boolean property.

  • @AnAn-wc7hn
    @AnAn-wc7hn 2 роки тому +1

    It works, so helpful! Thank you so much!🤩

  • @VarunKumar
    @VarunKumar Рік тому

    I had been looking for a video like this for so long. This helped me create a complex button shape! Thank you 🥹

  • @douhanezar4912
    @douhanezar4912 Рік тому

    thank you so much Figma

  • @elflacosoyyo
    @elflacosoyyo 2 роки тому +1

    Amazing! Thanks for sharing Migi. Genio 🧞‍♂️!

  • @jeremywoolley
    @jeremywoolley 2 роки тому +2

    This is really cool!

  • @juliawagner1495
    @juliawagner1495 8 місяців тому

    Thank you so much!

  • @megaroeny
    @megaroeny 2 роки тому +1

    You da man Miggi!

  • @SachinGawas
    @SachinGawas Рік тому

    This is just wow. Saving me ton of time.

  • @yutani2225
    @yutani2225 Місяць тому

    This may be sufficient for short, concise tooltips. In practice, however, it is unfortunately much more complex. Often you have actions that are located at the edge of the viewport, in which case the tooltip also moves out of the viewport. Then you have to align the tooltip left if the tooltip flows out of the viewport to the right. But what about multi-line tooltips? So that we don't have a long ugly line, we need a max width. But what happens when this width is reached? The tooltip should then grow dynamically.

  • @suniljadhav1889
    @suniljadhav1889 Рік тому

    Wow great tip...Thank Bro

  • @jonchuka
    @jonchuka 2 роки тому +2

    Awesome 👏

  • @julianwilkins1635
    @julianwilkins1635 2 роки тому

    Awesome video, I loved it!

  • @bpsujith
    @bpsujith 2 роки тому

    Super awesome.

  • @sombrego2260
    @sombrego2260 2 роки тому +1

    I'm a bit confused as to why there is so many steps to do this ? Maybe I missed something but it feels like it could have been made more easily using just one layout with a frame inside ? I guess the point of the bubble wouldn't be as easy to replicate in all direction maybe without doing it the way you did but I still feel there has to be a more straightforward way ?

    • @miggi-from-figgi
      @miggi-from-figgi 2 роки тому +2

      There are more straightforward ways to get a simpler tip box, yes. I am hinting at greater opportunities of boolean operations and constraints. The single seamless stroke around the bubble, the expanding aspects of it, and a simple way to approach component properties and have a flexible library item for resuse. This method, too, allows for cool approaches for making scalable frames around auto layout objects. I may follow up with another one to demonstrate the potential of constraints / boolean ops / absolute positioning.

  • @HeyMalak
    @HeyMalak Рік тому

    This is awesome

  • @adrestuc
    @adrestuc 11 місяців тому

    Thanks for the video! Is there a way to set a max and min width for a component like this? Seems I lose the responsiveness when switching to a Fixed width (vs. Hug)

  • @sachinwalia264
    @sachinwalia264 2 роки тому

    Woow great feature

  • @aakasharora3290
    @aakasharora3290 2 роки тому +2

    The shape of the polygon gets distorted when scaling the bubble horizontally.

    • @miggi-from-figgi
      @miggi-from-figgi 2 роки тому +6

      Hi! If the constraints are set properly it won't distort. Take a look at the community file in the description.

    • @jaslina6113
      @jaslina6113 2 роки тому

      same here, and I have done it many times. :(

  • @Studio-sapana
    @Studio-sapana 2 роки тому

    Thanks for sharing this amazing video sir!
    somehow I am not sure where I have made a mistake; couldn't achieve the end which is shown here.. :(

  • @daggercrown
    @daggercrown 2 роки тому

    Great tip!

  • @sakthivel-oy4cg
    @sakthivel-oy4cg 9 місяців тому

    DEEEEEEEEEEEEEEEEEE BEEEEESTTTTTTTTTTTTTTTTTTTTTTTTT

  • @akshaychauhan.5678
    @akshaychauhan.5678 Рік тому

    It's cool.

  • @Underhills
    @Underhills 2 роки тому +1

    @0:23 you said you hit Ctrl+E / Cmd+E to expand it, but it did the opposite. The container hugged the object instead. This is a neat trick, but did you just say it wrong or is that expression correct? What do u mean by expand?

    • @miggi-from-figgi
      @miggi-from-figgi 2 роки тому

      It expands it from a Polygon object to points. Notice the bounds on it change. This way it’s tight to the triangle.

    • @Underhills
      @Underhills 2 роки тому +1

      @@miggi-from-figgi Hm, okay. Just found it hard to grasp the fact that somethings expands when its actually contracting.

    • @miggi-from-figgi
      @miggi-from-figgi 2 роки тому

      @@Underhills I’m calling it expand because the function is named that way in other software like illustrator. Where you are “baking” in non destructive operations… also sometimes called flattening.

    • @miggi-from-figgi
      @miggi-from-figgi 2 роки тому

      @@Underhills think of it like the non destructive operations like point number are being expanded to the vectors. Not that the bounds are expanding out.

    • @Underhills
      @Underhills 2 роки тому

      @@miggi-from-figgi Ok, thanks for clearing that up. I have always wondered how to actually make the container hug the content like that so the tip is great.

  • @colinw9908
    @colinw9908 Рік тому

    union is not working for me, all styling is gone after i apply it

  • @kemalpramudya927
    @kemalpramudya927 2 роки тому

    Thanx bro! 👍👍

  • @Genidii
    @Genidii 2 роки тому

    Clean!

  • @hugocsl
    @hugocsl 2 роки тому

    So smooth

  • @whomi2379
    @whomi2379 2 роки тому

    Cool, And how did you set your figma in dark mode...?

    • @Figma
      @Figma  2 роки тому

      Hello, to enable dark theme in Figma, click the Figma icon in the top-left of the toolbar > Preferences > Theme > Dark

  • @zxcvb7653
    @zxcvb7653 Рік тому

    This is great but it wouldn't work if you wanna make an interactive tooltip with the tooltip icon and bubble appear on hover :/

    • @miggi-from-figgi
      @miggi-from-figgi Рік тому

      Why so? You can nest it inside an interactive component for that behavior or make it more suited to your needs.

    • @zxcvb7653
      @zxcvb7653 Рік тому

      @@miggi-from-figgi Yes you can nest it into a seperate tooltip component. So you have "Tooltip bubble" loving inside a "Tool tip" Component which would be like a 24px x 24px frame.

  • @kriswayne7938
    @kriswayne7938 Рік тому

    Fckin genius trick

  • @femijohn
    @femijohn 2 роки тому

    Cool.

  • @kysuhailua
    @kysuhailua 2 роки тому

    Great!

  • @enchantingcaos
    @enchantingcaos 2 роки тому

    clearly i did something wrong :( but idk what. See, affter created the text content, I try a long text in the original variant an the bubble does expand as it should, but when I made a copy of it it doesn't :( :( :( :(

  • @Underhills
    @Underhills 2 роки тому +1

    There's alot of stuff not happening here. There's no way to set instance constraints cause all the constraints options are disabled when I try to add constraints to the instance of the main component. Also, when I scale the main component I made exactly by your instructions the bottom pointer doesn't grow with the bubble, it stays the same although everything is set exactly as instructed. I tried making the text and bubble from the beginning as one auto layout frame and added the pointer but then the bubble just vanished when I did the Union operation. Is it just me or is Figma very buggy?

    • @tirumala_ch
      @tirumala_ch 2 роки тому

      1. Use rectangle as one shape
      2. Then try to draw the polygon tool with pen tool (thats easy) and
      3. Select union (first option)
      4. Then select the bottom polygon shape put centre and bottom constraints
      5. Select rectangle shape put left-right | top- bottom constraints

    • @miggi-from-figgi
      @miggi-from-figgi 2 роки тому

      You can set constraints once something is inside of a frame or component. They need a parent to respond to. In the example I make the union, then convert to a component. The component behaves like a frame so I am able to set constraints on the children of the union.

    • @Underhills
      @Underhills 2 роки тому

      @@tirumala_ch That doesn't work for me. Instead what worked is to create one base component with all the pointer shapes placed on all sides of the rectangle, then make component variants out of them by selectively hiding the redundant pointer shapes one by one on each variant. Top, bottom, left, right. I didn't have to wrestle with all the other stuff that I couldn't seem to get in order. I tried your approach three times before I gave up and tried the other solution that seems to be working with auto layout and component variants for the pointer variants.

  • @z-h-d
    @z-h-d 2 роки тому

    👏

  • @pjonesg
    @pjonesg 2 роки тому

    How do I make unions now? the option is gone!

    • @surajtarani5710
      @surajtarani5710 2 роки тому

      Make sure you're selecting at least two layers, it should appear then. LMK :)

    • @pjonesg
      @pjonesg 2 роки тому

      @@surajtarani5710 I did exactly what he did in the video but when I selected both shapes the union didn’t show up for me or in the edit menu

  • @田沛涵-m7w
    @田沛涵-m7w 2 роки тому

    What is outline status's shortcut?

    • @Figma
      @Figma  2 роки тому +1

      Hello, you can enable outline mode by pressing Shift + O

  • @paulaelffman
    @paulaelffman 2 роки тому

    CRACK!

  • @tanchik26031990
    @tanchik26031990 2 роки тому

    magic

  • @ashu7653
    @ashu7653 2 роки тому

    this is so confusing..

  • @fuk
    @fuk 2 роки тому +2

    why use this 'absolute' method over simply making an autolayout button and containing into another autolayout container with a triangle. Does the absolute method make the design more closer to what will be code implementation?

    • @DhirajKyawal
      @DhirajKyawal 2 роки тому

      That's right! Easier handoff.

    • @aydemironur35
      @aydemironur35 2 роки тому

      I tried to do without absolute position but strokes messed up. You can't add separated strokes to polygon. I couldn't get rid of top stroke of polygon. How you make this with old school auto layout? Can you share please?