LearningOS — Build the World's Best AI Learning Interface ROLE You are not a frontend…
- User
LearningOS — Build the World's Best AI Learning Interface ROLE
You are not a frontend developer.
You are a world-class Product Designer, UX Researcher, Visual Designer, Motion Designer, Creative Director, Human Computer Interaction expert, Cognitive Scientist, and Senior Frontend Engineer.
You have worked at
Apple Linear Arc Browser Figma OpenAI Anthropic IDEO
Your job is NOT to build a website.
Your job is to design the future of learning.
This product should become the benchmark that people copy in the future.
Every pixel must have purpose.
Every animation must communicate.
Every spacing decision must improve understanding.
Never create something that merely looks beautiful.
Create something that feels inevitable.
PRODUCT GOAL
This is NOT
❌ ChatGPT
❌ NotebookLM
❌ Cursor
❌ Claude
❌ Notion
❌ Coursera
❌ Udemy
❌ Khan Academy
Instead this is
The Operating System for Learning.
Imagine Apple reinventing education.
DESIGN PHILOSOPHY
The interface must disappear.
The learner should never think
"I'm using software."
Instead they should think
"I'm learning."
Everything exists only to reduce cognitive load.
The interface should never compete with the lesson.
The lesson is always the hero.
EMOTIONAL GOAL
When someone opens the application they should immediately feel
Curiosity.
Calm.
Focus.
Progress.
Confidence.
Wonder.
Never
Stress.
Confusion.
Information overload.
Corporate dashboard.
Generic AI product.
FIRST IMPRESSION
The first five seconds determine whether someone continues learning.
The homepage should create exactly this emotional journey.
Open App
↓
Peace
↓
Curiosity
↓
Excitement
↓
Confidence
↓
Continue Learning DESIGN LANGUAGE
Imagine combining
Apple Human Interface
Arc Browser
Linear
Scientific Journal
Museum Exhibition
Beautiful Engineering Blueprint
Futuristic Laboratory
Reading an expensive printed technical book.
Never
Cyberpunk.
Never
Gaming.
Never
Neon.
Never
Heavy Glassmorphism.
Never
Tailwind Dashboard.
DESIGN PRINCIPLES
Everything should follow these rules.
Rule 1
Whitespace is more valuable than decoration.
Rule 2
Typography creates hierarchy.
Not colors.
Rule 3
Motion communicates understanding.
Not entertainment.
Rule 4
Cards are rare.
Don't put everything inside cards.
Rule 5
Reading experience is more important than visual effects.
Rule 6
Every screen should have one primary focus.
Never three.
Rule 7
Remove before adding.
COLOR PHILOSOPHY
Never use colors because they look pretty.
Every color must have semantic meaning.
Never use pure black.
Never use pure white.
Avoid saturated colors.
Use colors that people can comfortably look at for 6–8 hours.
The interface should feel premium.
Not loud.
Not dull.
Primary Canvas
Background
#0B0D11
Primary Surface
#12151A
Secondary Surface
#1A1E24
Elevated Surface
#242A33
Primary Border
#303845
Soft Border
#222831
Primary Text
#F6F7F9
Secondary Text
#C6CBD4
Muted Text
#8A929F
Disabled
#59616D
Primary Accent
Electric Indigo
#6E7BFF
Hover
#8793FF
Pressed
#5665F5
Success
#3CCB82
Warning
#D9A441
Danger
#E06A63
Information
#5EC6F2
No other colors.
TYPOGRAPHY
Typography is the main design element.
Use
Display
General Sans
Reading
Source Serif 4
Interface
Inter
Code
JetBrains Mono
Metadata
IBM Plex Mono
Reading text should feel like reading an expensive book.
Not documentation.
LAYOUT
Never build
Sidebar
Content
Chat
Instead
Build
Navigation
↓
Journey
↓
Lesson
↓
Practice
↓
Reflection
Learning is linear.
Not fragmented.
HOMEPAGE
The homepage is not a dashboard.
It is today's learning mission.
When the learner opens the application they should immediately know
What should I learn?
How long will it take?
Why does it matter?
What happens after this?
Everything else is secondary.
The homepage should contain
Hero
Today's Journey
Continue Learning
Knowledge Progress
Current Path
Weak Concepts
Recommended Lesson
Recent Achievement
Nothing else.
No analytics overload.
HERO
Do not create a generic hero.
Create something emotional.
Example
Good Evening [PERSON_NAME_1]
Today's Mission
Learn Runtime
12 minutes
After this lesson you'll unlock
Context
↓
Messages
↓
Memory
↓
Agent Execution
Continue
Large
Minimal
Elegant
No giant illustrations.
NAVIGATION
Minimal.
Home
Study
Roadmaps
Practice
Projects
Notes
Progress
Settings
Nothing more.
LESSON PAGE
This is the heart of the application.
It must be the best lesson experience ever built.
Layout
Lesson
↓
Objective
↓
Interactive Visualization
↓
Explanation
↓
Example
↓
Diagram
↓
Code
↓
Sandbox
↓
Quiz
↓
Reflection
↓
Continue
Everything loads progressively.
Nothing appears all at once.
EXPLANATION
Never dump text.
Teach.
Every explanation should reveal gradually.
Problem
↓
Story
↓
Analogy
↓
Visual
↓
Formal Definition
↓
Diagram
↓
Code
↓
Execution
↓
Quiz
↓
Recap
Exactly like a professor.
AI PROFESSOR
Never call it AI.
Never call it Chat.
Call it
Professor.
Instead of textbox
Show actions.
Explain Again
Use Analogy
Show Diagram
Slow Down
Challenge Me
Quiz Me
Visualize
Show Internal Flow
Only if user clicks
Ask Question
then show input.
KNOWLEDGE GRAPH
This is the signature feature.
Every lesson creates
One node.
Every prerequisite creates
One edge.
Every completed topic
Lights up.
Every weak topic
Softly pulses.
Every forgotten topic
Gradually fades.
The graph should become
The learner's second brain.
Not a decorative graph.
A meaningful one.
ANIMATIONS
Animations should communicate learning.
Never use random fades.
Example
Concept appears
↓
Line draws
↓
Node connects
↓
Previous node brightens
↓
Knowledge grows
When lesson completes
Don't use confetti.
Grow the graph.
Unlock the next node.
MOTION
Fast Motion
150ms
Hover
Expand
Buttons
Medium Motion
250ms
Page transitions
Lesson transitions
Knowledge unlock
Slow Motion
500ms
Major achievement
Path completed
Knowledge graph evolution
Everything should feel physical.
Never flashy.
COMPONENTS
Cards
Use only where necessary.
Sections should breathe.
Spacing
8pt system
Never inconsistent.
Buttons
Simple.
Readable.
Comfortable.
Large click targets.
Forms
Minimal.
Invisible.
READING EXPERIENCE
The lesson page should feel like
Reading a premium printed book.
Not reading documentation.
Text width
65–75 characters.
Large line spacing.
Generous margins.
No visual clutter.
CODE BLOCKS
Code should not appear alone.
Every block has
Explanation
Execution
Variables
Memory
Output
Internal Flow
Users should never wonder
What happened?
SANDBOX
Looks like
VS Code
Feels like
Python Tutor
Works like
Interactive notebook.
RESPONSIVE
Desktop
Immersive.
Tablet
Comfortable.
Mobile
Focused.
Never shrink desktop.
Redesign for mobile.
ACCESSIBILITY
Minimum WCAG AA.
Keyboard first.
Reduced motion support.
Readable typography.
Color blind safe.
High contrast.
Large touch targets.
IMPLEMENTATION
Framework
Next.js
React
Tailwind v4
Framer Motion
shadcn/ui
Radix
TypeScript
No inline styling.
No magic numbers.
Everything tokenized.
QUALITY BAR
Do not stop when the UI looks good.
Stop only when people say
"I've never seen a learning application this beautiful."
Every screen should be portfolio quality.
Every animation should have purpose.
Every spacing decision should improve learning.
Every color should reduce fatigue.
Every interaction should increase confidence.actually think this is a bigger issue than the prompt itself.
A lot of AI learning apps fail because they try to show everything at once:
Chat Documentation Lessons Code Notes Progress Quiz History Settings
The result is cognitive overload.
Your UI should reduce cognitive load, not increase it.
My Vision
Your application shouldn't look like ChatGPT.
It shouldn't look like Claude.
It shouldn't look like NotebookLM.
It shouldn't look like Cursor.
It should look like
Apple Human Interface + Linear + Arc Browser + DeepLearning.AI + Notion
A place where learning feels effortless.
Biggest UI Mistake
From what you've described, your main page has three parts.
Something like
Sidebar
Lesson
Chat
or
Sidebar | Documentation | Chat
This immediately divides attention.
Humans cannot focus on three information sources simultaneously.
Better Philosophy
The student should only focus on ONE thing.
Not three.
Never.
Think Like a Classroom
When a professor teaches,
Do you simultaneously see
textbook whiteboard chat notebook exam progress
No.
You only look where the professor wants.
Your application should work the same way.
I Would Completely Redesign It
Instead of
Sidebar
Lesson
Chat
I would build
──────────────────────────────────────────────
Navigation
──────────────────────────────────────────────
Current Lesson
──────────────────────────────────────────────
Everything else hidden
──────────────────────────────────────────────
The lesson is the hero.
Everything supports the lesson.
Home Page
Very clean.
Good Morning [PERSON_NAME_1]
Continue Learning
LangGraph
Lesson 8
15 min remaining
[ Continue ]
Current Roadmap
████████░░░░░
43%
Recent Lessons
Runtime
State
Context
Messages
Weak Topics
State
Runnable
Memory
Recommended
Next Lesson
No chat.
No documentation.
No code.
Lesson Page
This is the heart.
Imagine Apple designed it.
──────────────────────────────────────────
Lesson 8
Runtime
──────────────────────────────────────────
Progress
█████░░░░░
──────────────────────────────────────────
Content
──────────────────────────────────────────
Diagram
──────────────────────────────────────────
Code
──────────────────────────────────────────
Execution
──────────────────────────────────────────
Quiz
──────────────────────────────────────────
Next
──────────────────────────────────────────
One continuous flow.
No side-by-side layout.
Documentation
Documentation should NEVER stay open.
Instead
Lesson
↓
Need docs?
↓
Click
↓
Slide-over panel
↓
Close
↓
Back to lesson
Exactly like Apple Notes.
Chat
Don't permanently show chat.
Instead
Bottom-right floating AI.
──────────────────────
Lesson
──────────────────────
Need help?
💬
Open
Ask
Close
──────────────────────
Like Cursor.
Sidebar
Very small.
🏠 Home
📚 Courses
🧠 Learning
📊 Progress
⭐ Saved
⚙ Settings
Nothing more.
Lesson Roadmap
Instead of
Chapter
↓
Lesson
Make it visual.
LangGraph
──────────────
○ Runtime
○ State
○ Context
○ Messages
○ Threads
○ Memory
○ Tools
○ Agent
○ Streaming
○ Persistence
○ Deployment
✓ Completed
Current
Locked
Feels like Duolingo.
Learning Flow
One lesson
↓
Quiz
↓
Practice
↓
Reflection
↓
Next lesson
Never
Lesson
↓
Lesson
↓
Lesson
↓
Lesson
Right Panel
Remove it.
Instead
Use contextual cards.
When code appears
Lesson
──────────
Code
──────────
Run
──────────
Variables
──────────
Memory
──────────
Output
Only when needed.
Code Viewer
Huge improvement.
Instead of
Code
Explanation
Make it
────────────────────────
Code
────────────────────────
▶ Run Step
────────────────────────
Execution
────────────────────────
Variables
────────────────────────
Objects
────────────────────────
Memory
────────────────────────
Console
────────────────────────
Like Python Tutor.
Progress
Not percentage.
Use mastery.
Runtime
██████████
100%
State
██████░░░░
60%
Messages
██░░░░░░░░
20% Adaptive Learning
Show
Today's Goal
20 minutes
2 lessons
1 quiz
1 review
Instead of
Course Progress
37% Mobile
Don't copy desktop.
Lesson
↓
Scroll
↓
Quiz
↓
Continue
Simple.
Theme
Premium.
Colors
Background
#09090B
Surface
#111113
Accent
Blue
Typography
Inter
Animations
Framer Motion
Glass
Minimal Animations
Every transition should teach.
Example
Next Lesson
Current Lesson
↓
Slides Left
↓
Roadmap Updates
↓
Next Lesson Opens
Feels like reading a book.
AI Assistant
Instead of chat.
Call it
Professor
Ask Professor
Explain Again
Give Analogy
Slow Down
Challenge Me
Quiz Me
Buttons.
No typing required.
Final Architecture ────────────────────────────────────
Top Navigation
────────────────────────────────────
Roadmap
↓
Lesson
↓
Interactive Diagram
↓
Code
↓
Sandbox
↓
Quiz
↓
Practice
↓
Summary
↓
Continue
────────────────────────────────────
Floating Professor
──────────────────────────────────── If I were building this from scratch
I wouldn't build a "chat app with lessons." I would build a learning operating system.
The design principles would be:
One primary focus per screen: every page should have a single clear objective (learn, practice, review, or track progress). Progressive disclosure: documentation, AI help, notes, and advanced tools stay hidden until the learner requests them. Learning-first layout: the lesson is always the dominant element; navigation and utilities stay secondary. Adaptive interface: as learners advance, the UI reveals more powerful tools instead of overwhelming beginners on day one. Interactive by default: diagrams, execution visualizations, quizzes, and code exploration are integrated into the lesson rather than scattered across panels. Premium experience: smooth motion, clean typography, generous spacing, and subtle animations should make the product feel closer to Linear, Arc, and Apple than to a traditional documentation website.
- Assistant
I'll build LearningOS — a premium AI learning interface that reimagines education. Let me start by exploring the project structure and then architect this from the ground up.
Now let me install the necessary packages for this premium learning experience.
Now I'll build the entire LearningOS application. Let me start with the foundation and work up to the components.
Now let me build the core components. I'll start with the Navigation:
Now let me create the HomePage — the emotional first impression:
Let me fix the TypeScript issues in HomePage:
Now let me create the Lesson Page — the heart of the entire application:
Let me fix the TypeScript issues in the LessonPage:
Now let me create the Roadmap page:
Now let me create the Progress page:
Now let me create the Practice page:
Now let me update the main App.tsx to bring everything together:
Let me build the project to check for any issues:
The build is successful. Now let me enhance the visual quality with some premium touches. Let me generate a subtle background pattern:
Let me enhance the CSS with a subtle pattern and improve the premium feel:
Now let me update the HomePage to use the premium styling:
The build is successful. Let me add some final premium touches to make this truly exceptional. Let me enhance the lesson page with a better reading experience:
Files built:
index.html,src/index.css,src/store/useStore.ts,src/data/lessonContent.ts,src/components/Navigation.tsx,src/components/Professor.tsx,src/pages/HomePage.tsx,src/pages/LessonPage.tsx,src/pages/RoadmapPage.tsx,src/pages/ProgressPage.tsx,src/pages/PracticePage.tsx,src/App.tsx