A framework for data-driven visual essays built with SvelteKit.
npx degit Vermont-Complex-Systems/vcsi-starter/templates/baked my-project
cd my-project
npm install
npm run devnpx degit Vermont-Complex-Systems/vcsi-starter/templates/fresh my-project
cd my-project
npm install
npm run devThe core components are available as an npm package:
npm install @the-vcsi/scrolly-kitScrolly- Core scroll detector using IntersectionObserverScrollyContent- Opinionated scroll step container with content renderingMarkdownRenderer- Markdown + KaTeX math + syntax highlightingCodeBlock,CopyCodeBlock,CodeExplainer- Code display componentsSimpleToggle,SimpleSelect- Form controlsThemeToggle- Dark/light mode toggleTooltip,Spinner,ScrollIndicator- UI helpers
Import the styles you need:
@import '@the-vcsi/scrolly-kit/styles/all.css'; /* Everything */
/* Or individually: */
@import '@the-vcsi/scrolly-kit/styles/reset.css';
@import '@the-vcsi/scrolly-kit/styles/tokens.css';
@import '@the-vcsi/scrolly-kit/styles/typography.css';
@import '@the-vcsi/scrolly-kit/styles/layouts.css';.story- Story container with theme isolation.split-layout- Two-column with sticky panel (add.reversedto flip).fullscreen-layout- Full-viewport immersive backgrounds.triple-layout- Three-column (steps, code, chart).dashboard-layout- Collapsible sidebar
Override CSS variables in your app.css:
:root {
--vcsi-color-accent: #your-brand;
--vcsi-font-serif: "Your Font", Georgia, serif;
--vcsi-bg: #your-background;
}Full documentation coming soon.
MIT