TL;DR

I’m currently trying out Zed, depending on how things go this might replace VSCodium for me. I noticed they wrote their own UI framework named gpui. This is my experience trying out gpui.

Testing out the gpui examples

Adding the gpui dependency to gpui-experiments/Cargo.toml:

[dependencies]
gpui = { git = "https://github.com/zed-industries/zed" }

I’ll upload some screenshots eventually showcasing the included gpui examples. I’m especially interested in the data_table.rs animation.rs drag_drop.rs gradient.rs input.rs scrollable.rs and text.rs files.

input.rs example

Edits were made!

In the provided example the Reset button was yellow, I made it blue and rounded with white text.

Image of modified input.rs

I had to add the unicode-segmentation dependency for this example to work.

text.rs example

To be continued…

Resources