Gpui Component

gpui-component library patterns for building reusable UI components. Use when creating buttons, inputs, dialogs, forms, or following Longbridge component library conventions in GPUI applications.

9 stars 1 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add AprilNEA/gpui-skills --skill gpui-component
Manual install
git clone --depth 1 https://github.com/AprilNEA/gpui-skills.git /tmp/gpui-skills
mkdir -p ~/.claude/skills
cp -r /tmp/gpui-skills/gpui-component ~/.claude/skills/gpui-component

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# gpui-component Best Practices

Comprehensive guide for building UI components with [gpui-component](https://github.com/longbridge/gpui-component), a component library for GPUI applications.

## When to Apply

Reference these guidelines when:
- Creating reusable UI components
- Implementing theme-aware styling
- Building dialogs, popovers, or sheets
- Creating form components (Input, Checkbox, etc.)
- Implementing component animations
- Following Longbridge component patterns

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Component Architecture | CRITICAL | `comp-` |
| 2 | Trait System | CRITICAL | `trait-` |
| 3 | Theme System | HIGH | `theme-` |
| 4 | Dialog & Popover | HIGH | `dialog-` |
| 5 | Form Components | MEDIUM | `form-` |
| 6 | Animation | MEDIUM | `anim-` |

## Quick Reference

### 1. Component Architecture (CRITICAL)

- `comp-renderonce` - Use RenderOnce with #[derive(IntoElement)]
- `comp-structure` - Standard component structure template
- `comp-builder` - Fluent builder pattern for components
- `comp-stateful` - Entity + RenderOnce for stateful components
- `comp-callbacks` - Use Rc<dyn Fn> for event callbacks

### 2. Trait System (CRITICAL)

- `trait-styled` - Implement Styled for style customization
- `trait-disableable` - Implement Disableable for disabled state
- `trait-selectable` - Implement Selectable for selection state
- `trait-sizable` - Implement Sizable with Size enum
Read the full skill on GitHub

Details

Skill name
gpui-component
Path
gpui-component/SKILL.md
Repo updated
21 January 2026

FAQ

What does the Gpui Component skill do?

gpui-component library patterns for building reusable UI components. Use when creating buttons, inputs, dialogs, forms, or following Longbridge component library conventions in GPUI applications.

How do I install the Gpui Component skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add AprilNEA/gpui-skills --skill gpui-component. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Gpui Component popular?

It lives in AprilNEA/gpui-skills, which has 9 GitHub stars and 1 forks.

Related skills

Gpui

9

AprilNEA/gpui-skills

GPUI UI framework best practices for building desktop applications. Use when writing GPUI code, creating UI components, handling state/events, async tasks, animations, lists, forms, testing, or working with Zed-style Rust GUI code.

Frontend & Design

Rice Calculator Coach

9

Grafuja/Product-Manager-Skills

Interactive RICE (Reach, Impact, Confidence, Effort) calculator for product initiatives. Use this skill whenever the user wants to calculate RICE scores, prioritize features, rank initiatives, compare backlog items, or asks "how do I prioritize" or "what should I build first". Also trigger when user mentions RICE framework, scoring initiatives, or needs help with prioritization decisions. Guide them through each component step-by-step with examples and context.

Frontend & Design

Sota Animated Landing Page

9

satiricalguru/Agents-skills

Research and build art-directed landing pages with reference-matched imagery, expressive typography, cinematic scroll sequences, responsive layouts, and visual verification. Use for landing-page creation or substantial redesign while preserving the existing product and the user's chosen visual direction.

Frontend & Design

Grounded Design System

9

noemuch/skills

Makes a team's design system AI-ready inside their own repository, so agents building UI read answers instead of guessing. Audits where the system is silent, sets up the context layer, catalog, enforcement and gap log one phase at a time, logs missing pieces instead of inventing around them, and runs readiness tests. Use when the user asks to make a design system AI-ready or agent-ready, audit a design system or component library for agents, write or fix AGENTS.md, CLAUDE.md or DESIGN.md for UI work, add component metadata or a registry, enforce tokens or lint rules for agents in CI, log a mis

Frontend & Design

Stageshow

9

satiricalguru/Agents-skills

Build faux product UI that looks like a real product, as a still illustration or an animated demo with a cursor. Browser and app windows, dashboards, phones, notifications, terminals, bento grids and cursor walkthroughs, framed, masked and cropped the way a marketing page, feature card or docs hero needs them. Use whenever someone wants a fake or mocked UI, a product demo or walkthrough animation, a hero or feature-card illustration of an app, a product shot in the style of a polished marketing site, or an animated cursor doing things in an interface, even if they never say "faux UI". React an

Frontend & Design

Figjam Builder

9

prasantloki/figjam-builder

Build or modify FigJam boards via the Figma Plugin API. Use for creating, editing, extending, restructuring, or fixing the layout of a FigJam board. Triggers on "make a FigJam", "build a board", "update this FigJam", "fix the layout", "/figjam-builder", or a FigJam URL paired with a visual or content change.

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.