gpui-layout-and-style

Community

Style components with CSS-like GPUI layouts.

Authorzerx-lab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

GPUI styling and layout DSL streamlines creating consistent, visually cohesive user interfaces in Rust by providing a CSS-like syntax with type-safe APIs.

Core Features & Use Cases

  • CSS-like styling DSL for GPUI components in Rust
  • Flexbox-style layout primitives and sizing units (px, rems, relative)
  • Theming and color tokens via cx.theme()
  • Responsive and adaptive layouts with consistent spacing
  • Use Case: Build a responsive dashboard card grid with themed styles

Quick Start

Create a simple styled element:

div() .w(px(300.)) .h(px(200.)) .bg(rgb(0x2196F3)) .text_color(rgb(0xFFFFFF)) .rounded(px(8.)) .p(px(16.)) .child("Styled Card")

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-layout-and-style
Download link: https://github.com/zerx-lab/rmx/archive/main.zip#gpui-layout-and-style

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.