gpui-global

Installation
SKILL.md

Overview

Global state in GPUI provides app-wide shared data accessible from any context.

Key Trait: Global - Implement on types to make them globally accessible

Quick Start

Define Global State

use gpui::Global;

#[derive(Clone)]
struct AppSettings {
    theme: Theme,
    language: String,
}
Related skills
Installs
216
GitHub Stars
11.4K
First Seen
Jan 21, 2026