🛡️

Admin Access Required

This section of the application is restricted to administrators.

Return Home

UseYu Design System

A living document of our modular CSS architecture and UI components.

1. Typography

Standardized heading hierarchy and paragraph styles. Driven by src/styles/typography.css.

Page Title (.page-title)

Heading 2 (H2)

Heading 3 (H3)

Heading 4 (H4)

Main Text (.text-main): This is a standard paragraph demonstrating the default text color and line height. It provides excellent readability on both light and dark mode backgrounds.

Muted Text (.text-muted): Used for secondary information, descriptions, and captions.

Primary Text (.text-primary): Used for links and accents.

2. Colors

Core semantic color variables mapped to the theme. Driven by src/styles/variables.css.

--primary
--success
--warning
--danger
--bg-color
--card-bg
--border-color

3. Buttons & Actions

Centralized buttons driven by src/styles/buttons.css.

Standard Buttons

Instructional & Icon Buttons

TTS (Default)
TTS (Playing)
TTS (Loading)
Handwriting
Info/Tooltip

In-Hero Action & CTA Buttons (.hero-cta-btn, .hero-download-btn)

Prominent, responsive call-to-action buttons designed for catalog and work hero banners, positioned on the bottom right.

Start Series CTA (.hero-cta-btn) Start Series
Resume Series (Reactive State) Resume Series (Ch. 4)
Download Offline (.hero-download-btn)
Downloaded State (.is-downloaded)

Dropdown Menus

Click the 3-dots icon to toggle the dropdown.

4. Form Controls & Toggles

Inputs, selects, and interactive toggles. Driven by src/styles/forms.css.

Text Inputs & Selects (.modern-form)

  • Learner
  • Premium
  • Admin

Toggles & Switches

Toggle Switch

Mode Selector

Mandarin (官)
Cantonese (粤)

Script Toggle

Simplified (简)
Traditional (繁)

Animated Value Cycle Toggles (.shortcut-item)

Playback Speed
1.0x
Auto-Slow Rate
25%

5. Badges & Indicators

Status indicators and inline tags. Driven by src/styles/badges.css.

Catalog Types

Lesson Series 👑

Difficulty Tiers

Beginner Intermediate Advanced

Catalog Meta & Count Pills

📖 12 Chapters 📚 24 Works ✨ Curated Collection

Status Labels

Not Started Needs Work Familiar Mastered

Status Pills (Admin)

Active Deactivated

Speaker Identities (NPCs)

Female 1 Female 2 Female 3 Male 1 Male 2 Male 3 Neutral 1 Neutral 2 Neutral 3 Narrator Default

6. Cards, Callouts & Containers

Standardized content containers. Driven by src/styles/cards.css.

Callouts & Tips

💡

Did you know?

Callouts use flexbox to keep their icons in a separate column so text wraps perfectly.

⚡

Offline Limit Reached

You have reached your offline download limit. Upgrade to continue.

Universal Content Card (.content-card)

Mock Cover
Lesson Intermediate
Series Name

The Journalist

Diego, a driven pragmatist and journalist, logs in to learn Chinese to expand his reporting in Asia.

Entity List Items (.entity-list-item)

The Journalist Series
SERIES_JRNL_01
L
Arrival in Beijing Lesson
L_BJS_001

Structural Layout Cards

Settings Card (.settings-card)

A flex-column based card used heavily in user settings profiles. It supports a standardized gap and subtle drop shadow.

Admin Panel (.admin-panel)

A slightly beefier block-based container with generous padding used in back-office interfaces. It includes a subtle fade-in animation by default.

7. Modals & Overlays

Dialogs and Modals. Driven by src/styles/modals.css.

Framework Modals (.fw-modal)

Standard dialogs for settings, contact forms, and confirmations.

App Modals (.app-modal)

Rich media modals for gamification, auth, and checkout.

Dictionary Viewer

The global dictionary entry viewer for rich vocabulary definitions.

System Confirmation

This is a globally styled fw-modal dialog. It utilizes the native HTML dialog properties, and its styling is completely inherited from modals.css.

🔥

Daily Streak Active!

This is the App Modal layout. It supports hero headers and full-width edge-to-edge layouts.

💡

You can drop callouts inside the modal body effortlessly.

8. Data Tables

Horizontally scrolling responsive data tables. Driven by src/styles/tables.css.

Code / ID Name Status Actions
SUMMER26 Summer Sale Campaign Active
NEWYEAR-50 New Year's 50% Off Expired

9. Navigation Tabs

Main and Sub-tabs for content switching. Driven by src/styles/forms.css.

Primary Tabs (.ds-tabs)

Overview
Analytics
Settings

Secondary Tabs (.ds-sub-tabs)

Active Campaigns
Drafts
Archived

10. Empty States & Gating Walls

Placeholders for lists and page-level access locks. Driven by src/styles/cards.css.

📂

No Saved Lessons

You haven't bookmarked any lessons yet. Browse the catalog to find something interesting!

🔒

Premium Access Required

This section of the application is restricted to Premium subscribers.

11. Progress Indicators

Standardized loading and completion indicators. Driven by src/styles/progress.css.

Linear Progress Bars (.linear-progress)

Mastery Coloring

Radial Timers (.radial-progress)

25%
8/10

Lesson Timeline (.lesson-progress-segments)

Interactive scrub/swipe dragging. Unseen segments are gray; seen segments are blue. Scrubbing is restricted to the furthest seen index.

Standard (10 Items)

Dense (20 Items)

Dense (30 Items)

Dense (50 Items)

12. Asset Management UI (Admin)

Components for the Content-Addressable Storage (CAS) media library and inline editors.

1. Inline Contextual Editor (Overlay)

Enable "Inline Editing" in the sidebar, then hover over the image below to see the admin edit affordance.

Guanlan Lake

Inline Edit Demo

When Admin Edit Mode is active, containers wrap their contents in a relative box with an absolute edit overlay.

2. Media Drag & Drop Zone

Drag and drop images here

Supports JPG, PNG, WEBP up to 15MB. Duplicates are ignored via CAS hashing.

3. Asset Grid (Media Library)

Guanlan Lake
guanlan_lake.jpg1.2 MB • Cover
Ancient Chinese Architecture
ancient_arch.webp2.4 MB • Background
Sun Moon Lake Wenwu Temple
wenwu_temple.jpg1.8 MB • Cover
Bowl of Noodles
noodles.png900 KB • Thumbnail
Calendar
calendar.jpg600 KB • Asset
Chongqing at Night
chongqing_night.webp3.1 MB • Background

4. Asset Picker Modal

Link Asset to Content

Media Library
Upload New
  • Cover Image (cover)
  • Thumbnail (thumbnail)
  • Intro Slide (intro_slide)
  • NPC Avatar (avatar)
Thumbnail
✓
guanlan_lake.jpg
Thumbnail
ancient_arch.webp
Thumbnail
wenwu_temple.jpg
Thumbnail
noodles.png

13. Catalog Architecture & Modern Library

Modernized, reusable catalog heroes, interactive filter pills, generative artwork fallbacks, and content cards.

1. Catalog Hero Variants (.catalog-hero-wrapper)

The CatalogHero component powers collection overviews, works browsing, and cinematic work intros with responsive ambient backdrops.

Standard Catalog Hero
Curated Works 书库总览

Library Catalog

Explore story-driven series, books, and standalone lessons organized by difficulty and topic.

Cinematic Work / Series Hero (with In-Hero Actions & Read More)
Back to Catalog Book Series
The Journalist in Beijing
北京故事

The Journalist in Beijing

Follow Diego's journey navigating modern Beijing while acquiring essential conversational fluency and cultural nuance. Through authentic conversations with taxi drivers, street vendors, university scholars, and old courtyard neighbors, he unpacks colloquial idioms and modern vocabulary in natural contexts.

Thematic Focus

Journalistic investigations, everyday urban colloquialisms, and modern Chinese idioms.

2. Segmented Difficulty Filter Pills

Tactile pill controls for difficulty and thematic filtering.

14 works shown

3. Programmatic Book Cover Placeholders

Deterministic, modern abstract vector covers rendered dynamically with 3D-ish isometric book illustrations, curated editorial color palettes, and Chinese calligraphy titles seeded by work ID.

Work / Series (3D Isometric Book)
Work / Series (Abstract Geometry)
Chapter Segment (Inherited Palette)

4. Live Catalog Cards (Tightened Layout & Deduplication)

The three core cards of our catalog system: CollectionCard, SeriesCard, and LessonCard. Optimized for mobile above-the-fold density with 2-line clamped descriptions, redundant chapter title prefix stripping (via stripDuplicateChapterPrefix), and consistent Explore Collection / Explore Series action link affordances.

Collection 5 series
日常会话精选

Essential Daily Fluency

Master high-frequency colloquial expressions and dialogues across modern Chinese cities.

Book 8 chapters
夜市故事

Night Market Chronicles

A mouthwatering literary excursion into the sights, sounds, and vibrant colloquial dialogue of Chinese night markets.

Chapter 1 intermediate
Locked

一碗热气腾腾的兰州拉面

A Steaming Bowl of Lanzhou Lamian

Order like a local at a bustling noodle counter late at night in Xi'an and master culinary expressions.

5. Catalog Pagination Controls

Responsive pagination navigation bar supporting large libraries without massive initial DOM payloads.

Select Language

Log In

Create a free account to track your progress, practice vocabulary, and save your lessons.

Upgrade to Premium

Unlock offline downloads, full access to all series, and support new development.

  • Download lessons for offline study
  • Access the entire UseYu content library
  • Offline drills for up to 500 words
  • Support the development of new content
Tell me more

Install in Two Steps

Add UseYu to your home screen for a full-screen experience, faster loading, and robust offline access.

1. Tap the Share icon
2. Then, select 'Add to Home Screen'
Add to Home Screen

Language & Script Guide

What is Mandarin?

Mandarin is the official language of Mainland China and Taiwan, and one of the official languages of Singapore. It is the most widely spoken Chinese dialect globally.

What is Cantonese?

Cantonese is the primary language spoken in Hong Kong, Macau, and the Guangdong province of China. It is also widely spoken in overseas Chinese communities.

What is Simplified Chinese?

Simplified Chinese characters were created to increase literacy rates by reducing the number of strokes. They are officially used in Mainland China and Singapore.

What is Traditional Chinese?

Traditional Chinese characters retain their historical shapes and strokes. They are primarily used in Taiwan, Hong Kong, and Macau.

Which should I choose?

If you plan to visit Mainland China or want to speak with the largest number of people, choose Mandarin + Simplified. If you are interested in Hong Kong culture, media, or visiting Macau, choose Cantonese + Traditional.

Scholar

1

Commoner

白丁 (Bai Ding)
0 XP 100 XP to Tong Sheng

Lifetime Experience

0 XP
Learning 0
Review 0
Interaction 0

Learning Stats

0 Lessons Completed
0 Vocab Seen
0 Drills Completed
0 Lessons Passed (70%+)
0 Vocab Mastered
0 Drills Passed (70%+)

Activity Dashboard

🔥
0 Current Streak
🏆
0 Longest Streak

Last 7 Days

Loading activity...

Last 365 Days

Loading heatmap...
First of the month
Less
More
Time until next day 00:00:00

Contexts & Encounters

You have encountered in the following lessons:

Link Asset to Content

Media Library
Upload New
  • Cover Image (cover)
  • Thumbnail (thumbnail)
  • Intro Slide (intro_slide)
  • Outro Slide (outro_slide)
  • NPC Avatar (avatar)

Remove Asset

Choose how you want to remove this asset.

Send to Recycle Bin

This will remove the file from all linked content and send it to the Recycle Bin.

Free Lesson 5 of 6

Keep Your Hard-Earned Progress

You've completed 5 of your 6 free preview lessons. Create a free account to make sure your vocabulary and XP are saved.

5 / 6 Free Lessons Completed
🧠
Personalized Word Deck & Drills Lock newly discovered words into long-term memory with smart intervals.
🔥
Streak & Character Mastery Tracking Never lose your reading stats or vocabulary across any device.
📖
Save & Sync Stories Anywhere Enjoy foundational series and standalone stories in the library.

Unlock the Rest of the Story

You've reached the end of the free preview. To see what happens next, upgrade to UseYu Premium.

  • Unlock all branching paths and reading segments
  • Download titles for offline study
  • Offline drills for up to 500 words
  • Support the development of new content
官 · 简 · 1.0x

Language Settings

Speech Settings

Playback Speed
1.0x
Auto-Slow Rate
25%