react-game-ui
Installation
SKILL.md
React Game UI
Production-ready UI patterns for game interfaces using shadcn/ui, Tailwind, and Framer Motion.
Core Components
Resource Bar
import { cn } from '@/lib/utils';
import { motion, AnimatePresence } from 'framer-motion';
interface ResourceBarProps {
icon: React.ReactNode;
value: number;
maxValue?: number;
label: string;
color?: 'gold' | 'green' | 'blue' | 'red';
}