Design system contents

Foundations

Spacing and target sizes

Use the measured spacing of the new workspace, editor, and learning surfaces.

On this page

Observed dimensions

Observed dimensions
AreaSource measurementPurpose
Workspace rail272px shared --sidebar-widthAlign content, banners, and fixed navigation.
Top bar76px minimum height; 28px desktop side paddingRoom for brand, context, appearance, and actions.
Section content32px desktop padding; 20px below 768pxGroup a settings task.
Lesson editor28px; 22px below 1201px; 18px below 521pxMatch available width without shrinking type.
Primary UI button44px minimum height; 9px 16px paddingComfortable named actions.
Appearance switch60px minimum width, 44px minimum heightLarge hit target around a compact track.
Email-code input58px high; 52px on narrow phonesOne digit per comfortably sized field.
Action checklist36px square controlSmaller than the 44px house target; inspect practical touch spacing.

Rhythm and exceptions

Use the source section, editor, resource, and toolbar wrappers first. Not every legacy control has moved to the same target dimensions: compact reorder arrows, review stars, and ToggleField need separate inspection. Do not infer a universal spacing-token package from repeated numeric values.

Source references

Source references
FileResponsibility
src/app/globals.cssLayout and target dimensions
src/components/ToggleField.tsxCompact switch dimensions
src/components/courses-public/logged-in/ActionChecklist.tsxAction target

Interface examples

Native TeachKit interfaces with fictional course, account, and learner records. Service responses and media are isolated demonstrations; no customer data or live changes. Captured at 2× resolution or higher. Select an image to inspect it full size.

Fields · Component detail · Light · Desktop · 2280 × 1254 px
Appearance · Component detail · Light · Desktop · 2280 × 483 px
Checklist · Component detail · Light · Desktop · 2280 × 894 px
Fields · Component detail · Light · Desktop · Focus · 2316 × 1290 px

Source audit: 2026-10-22 · Revision 903bbf05ca9d · Documentation v2.0.0