Kitbook: Build, Document, Inspect and Test Svelte Components
summary
Kitbook is a SvelteKit dev route that mounts components from variants exported from sibling .variants.ts and composes multi-component pages via compositions (.composition.svelte) while preserving app i18n and CSS. It supports SSR/CSR toggles, emulates delayed data and mocked callbacks (functions become console logs), and runs visual regression with Playwright via GitHub Actions storing screenshots in Google Cloud Storage. It handles 14 UI languages including RTL, offers live reload, and proposes Vitest HTML diffs for faster PR checks.
AI-written summary · about
chapters (6)
- 0:00Introduction to Kitbook
- 2:13Core features overview
- 3:42Advanced configuration
- 5:25Visual regression testing
- 7:21Deep dive into integration
- 8:39Viewer features and conclusion
related talks
28mFrom Sketch to Code Designing a Component Kit
02h 57mSvelte Cookbook: A Masterclass on SvelteJS
14mBuilding a component library with React, Vue, Angular or WebComponents
10mBehavioral Testing with SvelteKit
27mBuilding a Maintainable UI with Storybook
39mDesigning with Components
13mElevating the DX of using Storybook for Svelte
24mFrom Sketch to Code Designing a Component Kit
