Skip to content

Replace Ladle with Storybook as the component workbench #89

Closed

Description

@pratikbuilds

Migrate the component workbench from Ladle to Storybook.

Why

  • Ladle has stalled. It has had no release since November 2025 and is stuck on Vite 6, so the workbench can't move to Vite 7.
  • Storybook is maintained and widely used. Version 10 has a first-class React + Vite setup that fits how this repo already builds.
  • It opens the way to testing stories. Storybook can later run stories as tests and check each one for accessibility. Accessibility is a merge requirement here, and most components have no tests yet.

Decision

Move to Storybook 10 (@storybook/react-vite) as a straight swap:

  • Stories stay as they are. They are already in the standard story format, so no story files need rewriting.
  • Same commands. bun run stories starts the workbench and bun run stories:build builds a static copy.
  • Same light/dark toggle. The toolbar switches the real theme, the same as in Ladle.
  • No controls panel or auto-generated docs. Each state is its own story, so there is nothing for knobs to drive.

Story tests and accessibility add-ons are out of scope and will come in a later change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions