ui-useframe
CommunitySync DOM UI with the 3D render loop.
Authorverekia
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Sync DOM-based UI outside the Canvas with updates from the render loop, enabling real-time HUDs and overlays without embedding UI in the 3D scene.
Core Features & Use Cases
- External useFrame: run outside the Canvas to update DOM elements in sync with 3D.
- Ref-based DOM updates: manipulate DOM nodes directly for performance.
- Throttling: optionally throttle updates with the fps option to reduce DOM work.
- Use Cases: HUDs, debug panels, and UI that doesn't require 3D space.
Quick Start
Create a UI component outside the Canvas and update its DOM content on every frame with useFrame.
Dependency Matrix
Required Modules
None requiredComponents
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: ui-useframe Download link: https://github.com/verekia/r3f-gamedev/archive/main.zip#ui-useframe Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.