Skip to main content
Oli8
New Participant
Aug 23, 2023 7:25 AM UTC

Components in text

Hello,

it would be nice to have the option to insert floating components inside text (like Emojis).

Use case would be for signs or infos in complex dashboards. Its a hustle to do this now manually and also set kind of boundingboxes to sync different heighs of text and component.

Regards

    83 replies

    LauraNebula
    Jul 9, 2024 10:05 PM UTC

    +1 stumped here on how to make this happen.

    djv
    Figmate
    Community Support
    Jul 9, 2024 10:09 PM UTC

    Hey All, thanks for the feedback!

    We’ll pass this onto our team for future consideration.

    Joana_Vieira
    Jul 19, 2024 3:43 PM UTC

    This would be huge. Please, top priority!

    Patrick-Plaggenborg
    Active Member
    Jul 24, 2024 8:58 AM UTC

    This would be very helpful because currently there is no way to have 2 text elements behind each other like you could with HTML/CSS display:inline.

    The goal is to have text elements (display:inline) and any other component (display:inline-block) be aligned on the same baseline.

    Currently the only thing you can do is:

    Both set as Fill.
    They will share the width 50/50.
    fill-fill

    One set as Fill, other set as Hug
    Fill will take most space, but text will wrap inside width instead of taking full width.
    fill-hug

    One set as Fixed, other set as Hug
    This will take the full width, but the next element will not continue on the same baseline but start a new line.
    fixed-hug

    And here the goal, but this is currently impossible
    This is a simple example with 2 text elements. Ideally this would also work with other components like icons.
    goal

    TLDR;
    So what we need is some kind of auto-layout support to create display:inline and display:inline-block elements.

    Bas_Kroese
    New Member
    Aug 1, 2024 8:43 AM UTC

    This is actually quite essential for several of our form field components in our design system

    Marianne1
    Aug 21, 2024 11:19 AM UTC

    This is a waayyyyy overdue Figma update!!

    AGW
    Aug 21, 2024 4:12 PM UTC

    well said and demonstrated!

    pressrobin
    Oct 23, 2024 12:01 AM UTC

    In some cases with text, there could be a very easy work around if text styles contained color as a property. Why, oh why not?

    David_Simpson
    New Participant
    Nov 20, 2024 4:48 PM UTC

    Yes please! This will unlock (without having to hack) adding inline icons to the end of text links, adding link (or any other) components into paragraph text.

    Scott_Olson
    Nov 22, 2024 3:45 PM UTC

    If you’re working with responsive text fields using auto-height, things like inline notations or icons are completely broken. The text reflows, and the icon sits out-of-place in its absolute container. Frustration ensues.

    Please please please address this issue.