Skip to content
Back to skills

04 Mofa Studio Ui Patterns

ASecurity

Makepad UI patterns in MoFA Studio: live_design layout, event handling, apply_over usage, shader-driven theming, and animation lifecycles. Use when editing UI or behavior.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
design

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill 04-mofa-studio-ui-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 04 Mofa Studio Ui Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 04 Mofa Studio Ui Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-04-mofa-studio-ui-patterns/badge)](https://www.skillsdirectory.com/skills/david-li0406-04-mofa-studio-ui-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: 04-mofa-studio-ui-patterns
description: Makepad UI patterns in MoFA Studio: live_design layout, event handling, apply_over usage, shader-driven theming, and animation lifecycles. Use when editing UI or behavior.
---

# MoFA Studio UI Patterns

## 1. Overview
Follow Makepad patterns for event handling and runtime updates. Use `apply_over` for dynamic changes and keep hover handling before action extraction.

## 2. UI workflow
1. Build layout in `live_design!` using theme constants.
2. Implement `Widget::handle_event` and call `self.view.handle_event`.
3. Handle hover events before `Event::Actions` early return.
4. Use `apply_over` for visibility and shader instance updates.
5. Use shader time or `Event::NextFrame` for animations.

## 3. References
- references/ui-workflow.md
- references/hover-and-apply-over.md
- references/ui-edge-cases.md

Files in this skill

  • SKILL.md862 B
  • references/hover-and-apply-over.md708 B
  • references/ui-edge-cases.md389 B
  • references/ui-workflow.md489 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…