Skip to content

voxable/view_component_storybook

 
 

Repository files navigation

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.

About

ViewComponent previews and testing in Storybook

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 96.7%
  • HTML 1.8%
  • CSS 1.2%
  • Other 0.3%