Studio Guide
Using the Curriculum and Theme Builders
Studio Guide
The TutorKit Studio (apps/studio) provides a powerful visual interface to author your courses without writing raw JSON by hand.
You can also use the hosted studio here:
The live demo is here:
Curriculum Builder
The Curriculum Builder is where you construct the structure of your course.
- Global Settings: Start by setting your Curriculum Title, Description, and any global dependencies (e.g.,
reactorframer-motion). - Managing Lessons: Use the sidebar to add, duplicate, or delete lessons.
- Editing Files: For each lesson, define the initial files the user will see in their editor. You can create multiple files (like
App.tsx,index.css). - Creating Challenges: Add challenges to test the user's progress. Provide markdown instructions, optional hints, and write the JavaScript validation function right in the browser.
- Live Preview: The right side of the screen shows a live instance of the
Playgroundcomponent, instantly reflecting the changes you make to your curriculum. - Export: Once you are happy with your curriculum, click the "Export JSON" button to download it.
Theme Builder
The Theme Builder allows you to customize the visual appearance of the Playground component.
- Colors: Modify primary, background, surface, and text colors. The preview updates in real-time.
- Typography: Change the font families and base font sizes.
- Spacing & Radii: Adjust the padding, margins, and border radii to match your brand's aesthetics.
- Export: Click "Export Theme" to download the JSON representation of your customized theme.
Using Exported Data
Once you have downloaded your curriculum.json and theme.json, you can import them into your own application and pass them to the tutorkit Playground component!