Bases formula: Combine Text and icon

What I’m trying to do

I want to use the icon() function in a formula in bases in combination with text. My desired result should be something like this:

Text ∞

Eventually, I want to combine the icon with a link() function.

Things I have tried

I’ve tried the usual methods for combining strings, but I couldn’t find anything that keeps the symbol intact.

Does anyone have an idea?

A way to combine text, icon, links, and property values while retaining rendering is in a list displayed on a single line. This formula has all four:

["your text", icon("infinity"), link("your link"), note["your property"]]

It sounds like you might also be talking about displaying an icon as a clickable link. Here’s how…

  • external link: link("https://example.com", icon("infinity"))
  • internal link: link("your note", icon("infinity"))

An example formula that uses the above info:

["that's a link 👉", link("your note", icon("link"))]

2 Likes

Your solution worked perfectly for me.
Thank you very much!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.