New component: Key Value v2

Hi all!

We are excited to announce the launch of a new Key Value component. Compared to the older Key Value component, this version has significantly more functionality, and offers much improved visual controls.

  • Customize how values are displayed, with the same familiar display options as the Table component, such as dates, tags, avatars, images, links, and more
  • Add click handlers to values
  • Render in single-column, multi-column, or 'wrap' mode
  • Control the text color and label positions

The component is designed to work without configuration -- it will automatically generate readable labels based on the key and guess the format of the value. However, you can also 'save' properties to manually configure them, which lets you set their order, custom labels, placeholders, and more.

Check out the docs to find out how to configure your Key Value component: Display key-value pairs | Retool Docs

This new component is now available for all orgs on cloud, and will be made available for on-premise users in the coming weeks!


Thanks for the new component! Is there a way to migrate current old Key Value to the new Key Value, just like what we could do when the new Table component came out?

Thanks for reaching out, @brianzjj!

:confused: We don't currently have an upgrade path for this component from the legacy key value. You can start using the new key value component as a brand new component, or you can continue to use the legacy key value components -- we don't have plans to remove the legacy version.

Similarly for the table, in the past we have shipped upgrade paths for smaller improvements to the table (see docs for upgrade examples), but if you want to replace any legacy tables with the newest table component, you'll need to create it from scratch.

Hi @dlee :wave:

Happy to see that this component got an update! I frequently found myself writing custom CSS to improve the styling of the key value component, so glad to see that the configuration solves that challenge for me.


Hi @Tess :wave:

Slightly off topic: I love to see these posts of new functionality getting added to Retool, but sometimes it feels like it's buried between other posts within the App Building category. Would it be possible to create a separate topic for announcements like these?

Appreciate your insights!


Hi @avr Thanks so much for the feedback! Makes sense :blush: we'll look into other options


Thanks again for the feedback! We've gone ahead and moved this and other recent new-feature type announcements to our existing Announcements category, and will plan to centralize future topics there going forward

1 Like

Great, thanks @Tess!

Can values in Key Values be edited like in the table component? How?
What is this add on for:
CleanShot 2024-03-27 at 18.47.13@2x

1 Like

any updates on this?

Is the question regarding Key Values being edited similar to the table component going to answered?

I'm a bit disappointed with lack of ability to easily interact with this component. It looks great, but the lack of functionality a lot to get past, so I rarely ever end up using it.

Now, if it were to have the same / a very similar set of add-on and event-handlers, I could see it very quickly becoming one of the components I use most frequently.

In addition to the outstanding question, are there additional updates planned for this component that would closely mirror the functionality of the table component? If so, any estimate of timeline?

1 Like