gpui-element

Community

Maximize control with low-level GPUI elements.

Authorzerx-lab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

GPUI's low-level Element API lets developers build highly optimized custom UI components that require fine-grained control over layout, prepaint, and paint phases.

Core Features & Use Cases

  • Low-level control over three rendering phases (request_layout, prepaint, paint) for custom UI behaviors.
  • Custom layouts and hitboxes enabling precise interaction models and optimized rendering paths.
  • Use Case: Implement a bespoke dashboard widget that needs a non-standard layout and advanced hit-testing.

Quick Start

Implement the Element trait for your component, supply RequestLayoutState and PrepaintState, and integrate it into a GPUI tree by wrapping it in a container element such as a div.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gpui-element
Download link: https://github.com/zerx-lab/rmx/archive/main.zip#gpui-element

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.