import { Box, Heading, VStack, Text, SimpleGrid } from '@chakra-ui/react' import CyclingImage from './CyclingImage' /** * Demo component showcasing various configurations of CyclingImage * This demonstrates the different ways to use the cycling animation effect */ function CyclingImageDemo() { return ( CyclingImage Component Demo Showcasing continuous light-to-dark color cycling animations {/* Example 1: Default Settings */} Default Settings 3s cycle, 50% intensity, auto-start {/* Example 2: With Controls */} With Interactive Controls Adjustable speed and intensity {/* Example 3: Fast Cycle */} Fast Cycle (1s) Quick pulsing effect with high intensity {/* Example 4: Slow & Subtle */} Slow & Subtle (8s) Gentle breathing effect with low intensity {/* Example 5: Paused by Default */} Paused by Default Animation starts paused, with controls {/* Example 6: Custom Timing Function */} Ease-In-Out-Back Custom cubic-bezier timing function {/* Features List */} Component Features ✅ Smooth continuous light-to-dark cycling animation ✅ Fully responsive with all Chakra UI responsive props ✅ Maintains absolute/relative positioning ✅ Customizable cycle duration (0.5s - 10s+) ✅ Adjustable intensity (0-100%) ✅ Multiple timing functions (ease, linear, cubic-bezier) ✅ Play/Pause controls (optional) ✅ Real-time speed adjustment ✅ Real-time intensity adjustment ✅ Auto-start or paused initial state ✅ CSS-based animations (hardware accelerated) ✅ Minimal performance impact {/* Usage Examples */} Usage Examples Basic Usage: {``} With Custom Settings: {``} With Interactive Controls: {``} ) } export default CyclingImageDemo