TeachKit project

TeachKit / Design system

Documentation v0.1 · Released product

Design system contents

Components

Creator section navigation

Keep a creator in the same course while they move between identity, lessons, instructions, registration and integrations.

On this page

Purpose and usage

Keep a creator in the same course while they move between identity, lessons, instructions, registration and integrations.

Anatomy

Anatomy
PartContract
Desktop sidebarCourse-section links
Phone triggerActive label, icon and chevron
MenuAbsolutely positioned listbox options
ContentWhite bordered section panel

Variants and configuration

Variants and configuration
Input or variantBehavior
itemslabel, href and icon
Active destinationPathname match, with first item fallback
RoutingSelected phone option calls router.push
LayoutSidebarLayout controls md breakpoint

State coverage

State coverage
StateImplemented behavior
DesktopSidebar visible
PhoneDropdown replaces sidebar
OpenOptions remain attached below trigger
Route changedActive item derives from new pathname

Interaction and composition

  • Use resolveCourseSidebar for actual course destinations.
  • Use native-width parent context for isolated captures.
  • Reserve room for the full open menu and its shadow.
  • CourseEditLayout is a separate implementation; select the wrapper deliberately.

Accessibility and readiness

Use Headless UI’s actual listbox and test arrow keys, Escape, focus restoration and route announcements. Full-menu capture does not establish keyboard success. The current capture includes real navigation plus an isolated open specimen.

Source references

Source references
FileResponsibility
src/components/SidebarLayout.tsxResponsive creator shell
src/components/SidebarNav.tsxDesktop destinations
src/components/SidebarNavDropdown.tsxPhone Headless UI Listbox
src/constants/sidebars.tsxCourse destination definitions

Examples from the app

Actual TeachKit UI with Thomas McGee’s course content. Session, progress and connection specimens are simulated; no student data or live changes. Captured at 2× resolution or higher. Select an image to inspect it full size.

Sidebar Menu · Component detail · Light · Desktop · 832 × 218 px
Sidebar Menu · Component detail · Light · Desktop · Open · 832 × 468 px
Creator Basic Info · Screen · Light · Desktop · 2880 × 2000 px
Creator Basic Info · Screen · Light · Desktop · Full Page · 2880 × 2120 px

Source audit: 2026-10-07 · Revision d8cf23d0a329 · Documentation v0.1