Learn Mode is the core exploration screen of Mi App Números. When a child starts a session from the main menu, they are taken into Learn Mode where each number is presented as a large, bold numeral paired with its Spanish name and a lively grid of animated emoji objects — one emoji for every unit of the number. This screen is designed to build a concrete understanding of quantity before any quiz or tracing exercise begins.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jonathino2590/mi-app-numeros/llms.txt
Use this file to discover all available pages before exploring further.
Session Types
From the main menu, learners can choose between two session styles that control how Learn Mode advances through the numbers:- Paso a Paso — walks through the numbers in strict order from 1 to 11. When the last number is reached and the learner taps Siguiente, the app returns to the main menu.
- Modo Aleatorio — picks the next number at random from the full dataset of 11 entries. This keeps more advanced learners on their toes and prevents memorisation by position.
startLearning function, passing the chosen mode as an argument:
What the Screen Shows
Every Learn Mode card contains three visual layers stacked vertically:- The numeral — rendered at
text-9xl font-blackin dark gray, making the digit large enough for small children to read at a glance. - The Spanish word — rendered at
text-4xl font-boldin blue, displayed in uppercase with wide letter spacing (tracking-widest) to improve legibility. - The animated emoji grid — a row of emoji objects, one per unit, that pop onto the screen with a Framer Motion spring animation. Each emoji animates in individually with a staggered delay of
i * 0.1seconds, giving the grid a playful cascading entrance:
Navigation Buttons
Three action buttons sit at the bottom of the Learn Mode screen, giving children immediate paths forward:| Button | Destination | Purpose |
|---|---|---|
| Escribir (PenTool icon) | Writing Mode | Trace the numeral on the canvas |
| Practicar (Hash icon) | Practice Mode | Take a multiple-choice counting quiz |
| Siguiente (ArrowRight icon) | Next number | Advance without completing an activity |
nextNumber(), which either picks a random index (Modo Aleatorio) or increments currentIndex by one (Paso a Paso). Tapping Escribir or Practicar simply sets the view state to 'write' or 'practice' respectively, keeping the same currentIndex so both sub-modes operate on the number currently being studied.
Number Data Reference
The full dataset used by Learn Mode is defined inNUMBERS_DATA. Each entry carries a numeric value, Spanish word, representative emoji, and a Tailwind color class used for UI accents.
| Number | Spanish Word | Emoji |
|---|---|---|
| 1 | Uno | 🍎 |
| 2 | Dos | 🚲 |
| 3 | Tres | ⭐ |
| 4 | Cuatro | 🐶 |
| 5 | Cinco | 🎈 |
| 6 | Seis | 🍦 |
| 7 | Siete | 🌈 |
| 8 | Ocho | 🚀 |
| 9 | Nueve | 🐱 |
| 10 | Diez | ⚽ |
| 11 | Once | 🦆 |