-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestjunior-devTasks suitable for junior developersTasks suitable for junior developersmediumMedium difficulty tasksMedium difficulty tasksuxUser experience improvementsUser experience improvements
Description
Description
Animate the total price when it changes for better UX.
Location
src/app/pricing/page.tsx - Price display component
Current Implementation
Price updates instantly without animation.
Task
- Use Framer Motion's
motion.spanfor price - Add number counting animation when price changes
- Highlight price change with color pulse (green for increase, blue for decrease)
- Add smooth easing for professional feel
- Consider using
react-countuplibrary for number animation
Example
import { motion, useSpring } from 'framer-motion';
const springConfig = { stiffness: 100, damping: 15 };
const animatedPrice = useSpring(totalPrice, springConfig);Learning Goals
- Framer Motion animations
- Spring physics animations
- Micro-interactions for UX
Estimated Time
1.5 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestjunior-devTasks suitable for junior developersTasks suitable for junior developersmediumMedium difficulty tasksMedium difficulty tasksuxUser experience improvementsUser experience improvements