Skip to main content
Oli8
New Participant
August 23, 2023

Components in text

  • August 23, 2023
  • 80 replies
  • 7598 views

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

80 replies

LauraNebula
July 9, 2024

+1 stumped here on how to make this happen.

djv
Figmate
Community Support
July 9, 2024

Hey All, thanks for the feedback!

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

Joana_Vieira
July 19, 2024

This would be huge. Please, top priority!

Patrick-Plaggenborg
Active Member
July 24, 2024

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
August 1, 2024

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

Marianne1
August 21, 2024

This is a waayyyyy overdue Figma update!!

AGW
August 21, 2024

well said and demonstrated!

pressrobin
October 23, 2024

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
November 20, 2024

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
November 22, 2024

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.