Loading repository data…
Loading repository data…
artursopelnik / repository
Stencil Storybook Boilerplate Template for creating fast and robust Design Systems with Storybook Stencil ✨
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A modern boilerplate for building fast and robust design systems for React, Remix, Next.js, Vue, Angular or Vanilla JS applications ✨ using:
This monorepo is structured using Lerna. For more details, check out my blog post.
It's happening! 🎉
Storybook has officially confirmed a native Stencil integration, with contributions already coming from the Stencil core team.
👉 https://github.com/storybookjs/storybook/pull/33737
👉 https://www.npmjs.com/package/@stencil/storybook-plugin
We're closely following the progress and will switch to the native setup as soon as it's stable.
Optimized for Web Components: Seamlessly integrates across frameworks.
aria prop, as Porsche and the Stencil Core do, accepting both JSON strings and objects to improve inclusivity and usability.Stencil is the only Web Components framework that fully supports SSR with Next.js App Router. While Lit is better integrated with Storybook and Vite, it falls short due to:
❌ Limited SSR support (only for the outdated Next.js Page Router)
❌ Buggy and experimental React integration
✅ Why Stencil Wins:
Clone this repository:
git clone https://github.com/artursopelnik/stencil-storybook-boilerplate.git
cd stencil-storybook-boilerplate
Install dependencies:
npm install
Build packages
npm run build
Go to the Storybook package:
cd packages/storybook
npm run storybook.run to monitor only the Storybook stories.npm run storybook to also watch changes in the web components.Optional to generate a new component:
cd packages/core
npm run generate <sub-folder>
We welcome contributions! 🚀
📧 Email: artur.sopelnik93@gmail.com
💼 LinkedIn: @artursopelnik
MIT © Artur Sopelnik