Link Search Menu Expand Document

ViewComponent Storybook

A framework for writing Storybook stories for Ruby on Rails View Components via Storybook/Server.

What is a ViewComponent Story?

A ViewComponent Story is a Ruby object that captures the rendered state of a ViewComponent. Developers write multiple stories per component that describe all the “interesting” states a ViewComponent can support.

Getting started →