gpui-context

Installation
SKILL.md

Overview

GPUI uses different context types for different scenarios:

Context Types:

  • App: Global app state, entity creation
  • Window: Window-specific operations, painting, layout
  • Context<T>: Entity-specific context for component T
  • AsyncApp: Async context for foreground tasks
  • AsyncWindowContext: Async context with window access

Quick Start

Context - Component Context

Installs
289
GitHub Stars
11.8K
First Seen
Jan 21, 2026
gpui-context — longbridge/gpui-component