Making flexible auto layout tool tip components in Figma.

Поделиться
HTML-код
  • Опубликовано: 9 сен 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 ;)

  • @user-sg9hj6ll6s
    @user-sg9hj6ll6s Год назад +1

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

  • @stefanyconde2853
    @stefanyconde2853 Год назад +2

    This video has made my day happier!

  • @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.

  • @lewisdesignplus
    @lewisdesignplus Год назад +1

    This was super helpful. Thanks Miggi!

  • @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!

  • @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.

  • @Dupdopy
    @Dupdopy 2 года назад +2

    Simple and to the point. Thank you!

  • @jarediledundee
    @jarediledundee Год назад +1

    Exactly what I was looking for. Many thanks!

  • @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.

  • @Studio-sapana
    @Studio-sapana Год назад +1

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

  • @TheMrBrendo
    @TheMrBrendo 2 года назад +3

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

  • @AnAn-wc7hn
    @AnAn-wc7hn Год назад +1

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

  • @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.

  • @douhanezar4912
    @douhanezar4912 Год назад

    thank you so much Figma

  • @VarunKumar
    @VarunKumar Год назад

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

  • @megaroeny
    @megaroeny 2 года назад +1

    You da man Miggi!

  • @jeremywoolley
    @jeremywoolley 2 года назад +2

    This is really cool!

  • @jonchuka
    @jonchuka 2 года назад +2

    Awesome 👏

  • @elflacosoyyo
    @elflacosoyyo 2 года назад +1

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

  • @suniljadhav1889
    @suniljadhav1889 Год назад

    Wow great tip...Thank Bro

  • @juliawagner1495
    @juliawagner1495 8 месяцев назад

    Thank you so much!

  • @yutani2225
    @yutani2225 10 дней назад

    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.

  • @HeyMalak
    @HeyMalak Год назад

    This is awesome

  • @bpsujith
    @bpsujith 2 года назад

    Super awesome.

  • @SachinGawas
    @SachinGawas Год назад

    This is just wow. Saving me ton of time.

  • @julianwilkins1635
    @julianwilkins1635 2 года назад

    Awesome video, I loved it!

  • @sakthivel-oy4cg
    @sakthivel-oy4cg 8 месяцев назад

    DEEEEEEEEEEEEEEEEEE BEEEEESTTTTTTTTTTTTTTTTTTTTTTTTT

  • @daggercrown
    @daggercrown 2 года назад

    Great tip!

  • @akshaychauhan.5678
    @akshaychauhan.5678 Год назад

    It's cool.

  • @adrestuc
    @adrestuc 10 месяцев назад

    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)

  • @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.

  • @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?

  • @kemalpramudya927
    @kemalpramudya927 2 года назад

    Thanx bro! 👍👍

  • @Genidii
    @Genidii 2 года назад

    Clean!

  • @sachinwalia264
    @sachinwalia264 2 года назад

    Woow great feature

  • @colinw9908
    @colinw9908 Год назад

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

  • @femijohn
    @femijohn 2 года назад

    Cool.

  • @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. :(

  • @kysuhailua
    @kysuhailua 2 года назад

    Great!

  • @kriswayne7938
    @kriswayne7938 11 месяцев назад

    Fckin genius trick

  • @hugocsl
    @hugocsl 2 года назад

    So smooth

  • @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.

  • @Studio-sapana
    @Studio-sapana Год назад

    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.. :(

  • @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 :( :( :( :(

  • @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.

  • @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 года назад

    👏

  • @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

  • @paulaelffman
    @paulaelffman Год назад

    CRACK!

  • @tanchik26031990
    @tanchik26031990 2 года назад

    magic

  • @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

  • @user-iv9pp5pb6h
    @user-iv9pp5pb6h 2 года назад

    What is outline status's shortcut?

    • @Figma
      @Figma  2 года назад +1

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

  • @ashu7653
    @ashu7653 2 года назад

    this is so confusing..