Duckfoot correction app

bydigital Mark

Act as a Senior Full-Stack Developer and UI/UX Expert. Create a fully functional, interactive Mobile Web App titled "StrutStraight: Women's Duck Foot Correction Guide" using React, Tailwind CSS, and Framer Motion for animations. ### 1. UI/UX DESIGN (Matching User Screenshots): - THEME: Clean, professional, and medical-wellness aesthetic. Use a primary Green (#2ECC71) and White theme as seen in the screenshots. - LAYOUT: A mobile-first responsive container (375px width feel). - NAVIGATION: Use a header with a back button and title, and a bottom navigation for (Workouts, Diet, Tips). ### 2. CORE SCREENS & LOGIC: SCREEN A: WORKOUT LIST (The "Abs" style list in screenshot) - Display a list of 8 targeted Duck Foot exercises: (1. Figure 4 Stretch, 2. Frog Stretch, 3. Calf Stretch, 4. Clamshells, 5. Hip Internal Rotation, 6. Monster Walks, 7. Glute Bridges, 8. Adductor Squeezes). - Each row should show the Exercise Name and a "30 s" duration. - A prominent "GO >" button at the bottom to start the sequence. SCREEN B: ACTIVE WORKOUT PLAYER (The "7 MINUTE" style timer in screenshot) - TOP: Shows current progress (e.g., "1/8 FIGURE 4 STRETCH"). - CENTER: A large, elegant Circular Progress Timer that counts down from 30 to 0. - ANIMATION AREA: Below the timer, include a placeholder area for an SVG illustration or GIF that demonstrates the movement. (Use a simple CSS-based character animation if possible). - CONTROLS: "Pause/Play" and "Skip" buttons. - SOUND: Trigger a "Beep" sound visual for the last 3 seconds. SCREEN C: DIET & HABIT TRACKER - A dedicated tab for "Kuna Khana Hai" (Nutrition). - Checklist for: Calcium intake, Vitamin D3, and Collagen-rich foods. - A "Mindful Walking" toggle to remind users to keep feet parallel. ### 3. CONTENT (Hinglish Instruction): - All instructions should be in simple Hinglish. - Example: "Ghutno ko modiye aur hips ko squeeze karein." ### 4. TECHNICAL SPECIFICATION: - Use 'Lucide-react' for icons. - Use 'Framer Motion' for the circular timer's smooth countdown effect. - The state should manage the transition from Exercise 1 to Exercise 8 automatically with a 5-second "Rest" period in between. Please generate the complete code and render the interactive app in the Artifact window.

No preview

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document

Duckfoot Correction App

1. Introduction

The Duckfoot Correction App, titled "StrutStraight: Women's Duck Foot Correction Guide," is designed to provide users with a comprehensive guide to correct duck foot posture through targeted exercises, dietary recommendations, and habit tracking. The app aims to deliver a clean, professional, and medical-wellness aesthetic, ensuring an engaging and informative user experience.

2. System Overview

The Duckfoot Correction App is a mobile web application developed using React, Tailwind CSS, and Framer Motion for animations. It is designed to be responsive, with a mobile-first approach, and includes features such as workout lists, an active workout player, and a diet and habit tracker. The app provides instructions in both Hinglish and English, catering to users who prefer physiotherapist-style guidance.

Page 1 of 5

3. Functional Requirements

  • As a User, I should be able to view a list of 8 targeted Duck Foot exercises.
  • As a User, I should be able to see the name and duration of each exercise.
  • As a User, I should be able to start the workout sequence using a "GO >" button.
  • As a User, I should be able to track my progress with a circular progress timer.
  • As a User, I should be able to view an animation or illustration of each exercise.
  • As a User, I should be able to control the workout with "Pause/Play" and "Skip" buttons.
  • As a User, I should be notified with a sound visual for the last 3 seconds of each exercise.
  • As a User, I should be able to access a diet and habit tracker tab.
  • As a User, I should be able to check off items for calcium, Vitamin D3, and collagen-rich foods.
  • As a User, I should be able to toggle a reminder for "Mindful Walking."
  • As a User, I should receive exercise guidance in Hinglish.
  • As a User, I should receive exercise guidance in English with physiotherapist-style instructions.

4. User Personas

  • General User: Individuals seeking to correct duck foot posture through guided exercises and dietary recommendations.
Page 2 of 5

5. Core User Flows

  1. Workout Flow: User selects workout list -> views exercise details -> starts workout -> follows timer and animation -> completes exercise -> transitions to next exercise.
  2. Diet & Habit Tracking Flow: User navigates to diet tab -> checks off dietary items -> toggles "Mindful Walking" reminder.

6. Visuals Colors and Theme

  • primary: #2ECC71 (Green)
  • primary_light: #A3E4D7 (Light Green)
  • secondary: #FF5733 (Coral)
  • accent: #FFC300 (Amber)
  • highlight: #FF5733 (Coral)
  • bg: #FFFFFF (White)
  • surface: rgba(255, 255, 255, 0.9)
  • text: #333333 (Dark Gray)
  • text_muted: #7F8C8D (Muted Gray)
  • border: rgba(46, 204, 113, 0.2)

7. Signature Design Concept

The homepage of the Duckfoot Correction App will feature an interactive 3D model of a foot that users can rotate and zoom into. This model will highlight different muscle groups and bones involved in duck foot correction. Users can click on these highlighted areas to receive detailed exercise guidance and animations. The 3D model will be built using @react-three/fiber and @react-three/drei, providing an engaging and educational experience that visually demonstrates the impact of each exercise.

Page 3 of 5

8. Interaction Model & Motion Direction

The landing page will utilize a "parallax" interaction model, creating a layered depth effect as users scroll through the content. This will be complemented by animated transitions and hover effects on interactive elements, enhancing the overall user experience. Internal pages, such as the workout and diet tracker, will maintain a "static" interaction model for clarity and ease of use.

9. Non-Functional Requirements

  • The app must be responsive and accessible on mobile devices.
  • The app should load within 3 seconds on a standard 4G connection.
  • The app must comply with accessibility standards for color contrast and text size.

10. Tech Stack

  • Frontend: React, Tailwind CSS, Framer Motion
  • Icons: Lucide-react
  • 3D Models: @react-three/fiber, @react-three/drei
Page 4 of 5

11. Assumptions and Constraints

  • Users have access to a mobile device with internet connectivity.
  • The app will be primarily used in India, considering local language preferences.
  • The app will not store personal health data beyond session-based interactions.

12. Glossary

  • Duck Foot: A condition where the feet point outward instead of straight ahead.
  • Hinglish: A blend of Hindi and English languages.
  • Mindful Walking: A practice of walking with awareness of foot positioning.
Page 5 of 5

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

Landing: View App Intro
WorkoutList: Browse Exercises
WorkoutList: Start Workout
WorkoutPlayer: View Exercise
WorkoutPlayer: Follow Timer
WorkoutPlayer: Pause Workout
WorkoutPlayer: Skip Exercise
WorkoutPlayer: View Rest Period
WorkoutPlayer: Complete Sequence
DietTracker: View Nutrition
DietTracker: Check Dietary Items
DietTracker: Toggle Mindful Walking

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

Landing: View App Intro
WorkoutList: Browse Exercises
WorkoutList: Start Workout
WorkoutPlayer: View Exercise
WorkoutPlayer: Follow Timer
WorkoutPlayer: Pause Workout
WorkoutPlayer: Skip Exercise
WorkoutPlayer: View Rest Period
WorkoutPlayer: Complete Sequence
DietTracker: View Nutrition
DietTracker: Check Dietary Items
DietTracker: Toggle Mindful Walking