No release in over a year
Generate Storybook CSF JSON for rendering Rails View Components in Storybook NOTE: As of v1.0.0 this gem has been renamed to view_component-storybook. See https://rubygems.org/gems/view_component-storybook
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

ViewComponent::Storybook

The ViewComponent::Storybook gem provides Ruby api for writing stories describing View Components and allowing them to be previewed and tested in Storybook via its Server support.

Features

  • A Ruby DSL for writing Stories describing View Components
  • A Rails controller backend for Storybook Server compatible with Storybook Controls Addon parameters
  • Coming Soon: Rake tasks to watch View Components and Stories and trigger Storybook hot reloading

Documentation

See jonspalmer.github.io/view_component-storybook for documentation.

Contributing

This project is intended to be a safe, welcoming space for collaboration. Contributors are expected to adhere to the Contributor Covenant code of conduct. We recommend reading the contributing guide as well.

License

The gem is available as open source under the terms of the MIT License.