Storybook UI workbench

This page is for framework contributors working in a veryfront-code repository checkout. Run these commands from that checkout, not from an application created with veryfront init.

Keep shipped UI source under src/react.

Storybook lives in the dev-only storybook/ package. Use it to review the components that Veryfront ships without adding Storybook to the framework runtime.

Run the local workbench with deno task storybook:

bash
deno task storybook

Build the static review bundle with deno task build:storybook:

bash
deno task build:storybook

Check the Storybook package boundary:

bash
deno task storybook:check

Storybook must import real Veryfront source modules, such as veryfront/chat or src/react barrels. Do not copy framework components into stories.

Storybook must not become a public deno.json export.

Verify it worked

  • deno task storybook opens the workbench at the printed local URL and the chat stories render.
  • deno task build:storybook writes a static bundle to storybook/dist without errors.
  • deno task storybook:check passes, confirming the package boundary (no framework code copied into stories, no public export added).