TeachKit project

TeachKit / Design system

Documentation v0.1 · Released product

Design system contents

Components

Lesson editing panel

Let creators organize the video, description, actions and resources of one real lesson within a collapsible unit.

On this page

Purpose and usage

Let creators organize the video, description, actions and resources of one real lesson within a collapsible unit.

Anatomy

Anatomy
PartContract
HeaderLesson identity, collapse and delete controls
VideoProvider selection and embed field
DurationHours, minutes and seconds
DescriptionRich editor
Actions/resourcesEditable and sortable contextual content

Variants and configuration

Variants and configuration
Input or variantBehavior
dataid, title, embedCode, duration, description, actionItems, links, downloads and error
collapsedParent-controlled display
onChange / onDeleteParent mutation intent
dragListeners / isDraggingSorting state from container

State coverage

State coverage
StateImplemented behavior
ExpandedComplete editing body
CollapsedCompact header
InvalidParent/source validation feedback
UploadingSeparate API reservation/transfer/completion lifecycle

Interaction and composition

  • Keep lesson content sourced from the actual course.
  • Preserve duration shape and stable IDs.
  • Use the actual form validation before storing embeds and URLs.
  • Uploads and provider search are external workflows; local captures do not execute them.

Accessibility and readiness

Audit naming on icon actions, provider dropdowns, rich editing, error association and drag alternatives. This specimen renders the real component; providers, upload permissions and successful transfer are intentionally unverified.

Source references

Source references
FileResponsibility
src/components/LessonItem.tsxLesson fields, provider selection, actions and resources
src/components/VideoSearchBox.tsxProvider video discovery input

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.

Lesson Editor · Component detail · Light · Desktop · 1920 × 742 px
Creator Video Lessons · Screen · Light · Desktop · 2880 × 2000 px
Creator Video Lessons · Screen · Light · Desktop · Full Page · 2880 × 4244 px

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