gpui-elements
SKILL.md
GPUI Elements
This skill covers creating and composing UI elements in GPUI applications.
Overview
Elements are the building blocks of GPUI UIs:
- Built with
div()as the base element - Styled with chainable methods
- Composed with
.child()and.children() - Support conditional rendering with
.when() - Use flexbox for layout
Basic Element Creation
div() Element
use gpui::*;