~/talk

Kitbook: Build, Document, Inspect and Test Svelte Components

Talkat Svelte Summit Spring 2024 · on Saturday, 2024-04-27· [component-design, developer-experience]
links:none on file
slides:none on file

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

  1. 0:00Introduction to Kitbook
  2. 2:13Core features overview
  3. 3:42Advanced configuration
  4. 5:25Visual regression testing
  5. 7:21Deep dive into integration
  6. 8:39Viewer features and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.