An open API service indexing awesome lists of open source software.

https://github.com/df49b9cd/tahoe-gpui

Tahoe HIG-aligned UI components for Zed's GPUI framework
https://github.com/df49b9cd/tahoe-gpui

design-system gpui hig liquid-glass macos rust sf-symbols tahoe ui-components zed

Last synced: 6 days ago
JSON representation

Tahoe HIG-aligned UI components for Zed's GPUI framework

Awesome Lists containing this project

README

          


tahoe-gpui

tahoe-gpui


Human Interface Guidelines components for GPUI.


CI
Apache-2.0
rust 1.95.0+
macOS

A component library that brings Tahoe HIG to applications built on [Zed's GPUI framework][gpui].

## Crates

| Crate | Description |
| --- | --- |
| [`tahoe-gpui`](crates/tahoe-gpui) | HIG-aligned UI components (buttons, alerts, toolbars, streaming markdown, …). |
| [`mdstitch`](crates/mdstitch) | Streaming Markdown preprocessor that auto-completes incomplete syntax during token-by-token rendering. Used internally by `tahoe-gpui`. |

## Quick start

```toml
[dependencies]
tahoe-gpui = { git = "https://github.com/df49b9cd/tahoe-gpui" }
gpui = { git = "https://github.com/zed-industries/zed", tag = "v0.231.1-pre" }
```

```rust
use gpui::App;
use tahoe_gpui::TahoeTheme;

fn main() {
App::new().run(|cx| {
cx.set_global(TahoeTheme::dark());
// … open a window, compose components
});
}
```

See [`crates/tahoe-gpui/examples`](crates/tahoe-gpui/examples) for runnable demos:

```bash
cargo run -p tahoe-gpui --example component_gallery
cargo run -p tahoe-gpui --example liquid_glass_gallery
cargo run -p tahoe-gpui --example dashboard_app
```

## Features

- `voice` — Audio/speech components (requires `cpal`).
- `test-support` — GPUI test harness with `image`-based visual regression helpers.

## Building

```bash
cargo build -p tahoe-gpui
cargo nextest run -p tahoe-gpui
cargo clippy -p tahoe-gpui -- -D warnings
cargo fmt --check
```

See [CONTRIBUTING.md](CONTRIBUTING.md) for the full development workflow.

## License

Apache-2.0. See [LICENSE](LICENSE).

[gpui]: https://github.com/zed-industries/zed/tree/main/crates/gpui