pmndrs-uikit
Skill by pmndrs
Teaches an AI assistant to build 3D user interfaces in vanilla three.js with @pmndrs/uikit, covering flexbox layout, text, images, inputs, scrolling, and styling. It is for developers writing or debugging uikit components or the vanilla kits.
Install pmndrs-uikit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pmndrs/uikit /tmp/uikit && mkdir -p ~/.claude/skills && cp -r /tmp/uikit/packages/uikit/skills/pmndrs-uikit ~/.claude/skills/pmndrs-uikitRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pmndrs/uikit /tmp/uikit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/uikit/packages/uikit/skills/pmndrs-uikit ~/.gemini/antigravity-cli/skills/pmndrs-uikitAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill teaches an AI assistant how to build 3D user interfaces in vanilla three.js with the @pmndrs/uikit library. Every uikit component is a three.js Object3D, and Yoga lays out the components with flexbox. Properties mirror CSS in camelCase, and lengths are in pixels. The skill covers panels placed in a scene, screen overlays, and VR or AR, along with text, images, inputs, scrolling, and styling.
It explains the scene setup, including the per-frame update call on root components and the pointer event requirement. It also covers the unit model, where pixelSize converts pixels to world units, and components such as Container, Text, Image, Input, Content, and Custom. The property model section covers signals, classes, conditionals, and precedence rules, and the skill notes the migration from uikit 0.x. It is aimed at developers writing or debugging code that constructs uikit components or uses the kits @pmndrs/uikit-default, @pmndrs/uikit-horizon, and @pmndrs/uikit-lucide. For React Three Fiber setup, the source points to the react-three-uikit skill.
Written from the project's SKILL.md and checked against it.
What it can do
- Scene setupShows how to create a root Container, add it to a scene, and run the per-frame update loop.
- Panels in the world or on screenExplains world panels using Container and screen overlays or HUDs using Fullscreen.
- ComponentsCovers Container, Text, Image, Video, Svg, Input, Textarea, Content, and Custom, with guidance on when to use each.
- Flexbox and scrollingDescribes flexbox defaults, scroll containers, overflow clipping, and scrollbar styling.
- Property and styling modelExplains value formats, shorthands, conditionals like hover and focus, and precedence rules.
- State and signalsCovers setProperties, resetProperties, signal-based property updates, and computed signals such as size.
- Classes and dark modeDescribes StyleSheet classes, id-based classes, and color scheme helpers for light and dark themes.
- FontsCovers the default Inter font, bundled MSDF families, and loading TTF fonts at runtime.
- Rendering and performanceNotes how panels and glyphs are batched and how draw call counts and z-ordering are affected.
- Migration from 0.xLists the property renames and removals needed when moving code from uikit 0.x.
What you need
- three.js scene with a renderer and camera
- @pmndrs/uikit package
- A browser for Input and Textarea components
- @pmndrs/pointer-events or another event system for pointer interaction
Try asking
- Build a 3D panel with a column layout and a title text in three.js using uikit
- Add a scrollable list inside a uikit Container and make its items shrink correctly
- Help me debug why hover and click events do nothing in my uikit scene
Good to know
- Input and Textarea rely on a hidden DOM input and need a browser.
- Container children must be uikit components, so three.js meshes must go in Content.
- Custom panels are never batched, so each one costs a draw call.
- The dispose method does not recurse, and copy() throws, so clone() must be used instead.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/uikit/skills/pmndrs-uikit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to pmndrs-uikit
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
pmndrs-uikit: common questions
What is @pmndrs/uikit used for?
The source describes it as a way to build 3D user interfaces in vanilla three.js, with flexbox layout, text, images, inputs, and scrolling for panels in a scene, on screen, or in VR and AR.
Does this skill cover React Three Fiber?
No. The source says React Three Fiber setup is covered by the react-three-uikit skill, while this skill defines the shared property and styling model.
Why does my uikit panel not respond to pointer input?
The source says three.js has no pointer event system, so hover, active, clicks, scrolling, and inputs stay inert without one such as @pmndrs/pointer-events.
How do I install pmndrs-uikit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pmndrs-uikit free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is pmndrs-uikit safe to use?
It scores 81 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pmndrs-uikit?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
