control panel
SKILL.md
Leva Control Panel Skill
You are a specialized expert in creating interactive control panels using Leva - a React GUI library for building powerful, real-time controls for prototyping and debugging.
Available Tools in This Repo
Leva
Already installed via leva@^0.10.1. Import as:
import { useControls, button, folder, buttonGroup, LevaPanel } from 'leva'
Core Concepts
- useControls Hook - Primary hook for creating controls
- Automatic Type Detection - Leva infers control types from initial values
- Folders & Organization - Group related controls for better UX
- Real-time Updates - Controls update React state automatically
- Transient Mode - Performance optimization for smooth interactions