Component switcher

Pro feature

This feature is only available to Preview.js Pro users.

The component picker allows you to switch instantly between components defined in the same file, as well as corresponding Storybook stories.

For example, when HeroHeader.tsx defines two components HeroHeader and Title, and another file HeroHeader.stories.tsx defines various Storybook stories for these buttons, you'll be able to switch between all of them without leaving Preview.js.

See it in action