gpui-element
✓Implementing custom elements using GPUI's low-level Element API (vs. high-level Render/RenderOnce APIs). Use when you need maximum control over layout, prepaint, and paint phases for complex, performance-critical custom UI components that cannot be achieved with Render/RenderOnce traits.
Installation
SKILL.md
Prefer Render/RenderOnce for: Simple components, standard layouts, declarative UI
The Element trait provides direct control over three rendering phases:
State flows in one direction through associated types, passed as mutable references between phases.
Implementing custom elements using GPUI's low-level Element API (vs. high-level Render/RenderOnce APIs). Use when you need maximum control over layout, prepaint, and paint phases for complex, performance-critical custom UI components that cannot be achieved with Render/RenderOnce traits. Source: longbridge/gpui-component.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/longbridge/gpui-component --skill gpui-element- Category
- *Creative Media
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is gpui-element?
Implementing custom elements using GPUI's low-level Element API (vs. high-level Render/RenderOnce APIs). Use when you need maximum control over layout, prepaint, and paint phases for complex, performance-critical custom UI components that cannot be achieved with Render/RenderOnce traits. Source: longbridge/gpui-component.
How do I install gpui-element?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/longbridge/gpui-component --skill gpui-element Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/longbridge/gpui-component
Details
- Category
- *Creative Media
- Source
- skills.sh
- First Seen
- 2026-02-01