Yes, storybooks are nice, yes it should be possible. For my use case full interactive storybook is overkill, and I use much simpler version, I call it Palette, basically I just render all UI elements in one page.
Here's [couple of screenshots](https://imgur.com/a/2Cb9CGD) how it looks [its Nim code](https://github.com/al6x/nim/blob/main/keep/ui/palette.nim), it also generates [static HTML](https://github.com/al6x/nim/blob/main/keep/ui/assets/palette/palette.html). Having Palette and static HTML extremely useful, as you can iterate with UI design very fast without need to wait for slow Nim recompile. The changes to design are instant. And when you finish you backport changes to Nim.
