🛡️

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

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 (繁)

5. Badges & Indicators

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

Catalog Types

Lesson Series 👑

Difficulty Tiers

Beginner Intermediate Advanced

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

Select Language

Log In

👑

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.