skills/smithery.ai/gpui-elements

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::*;
Installs
3
First Seen
Apr 9, 2026
gpui-elements from smithery.ai