/view_component

A framework for building reusable, testable & encapsulated view components in Ruby on Rails.

Primary LanguageRubyMIT LicenseMIT

ViewComponent

A framework for building reusable, testable & encapsulated view components in Ruby on Rails.

Documentation

See viewcomponent.org for documentation.

Installation

In Gemfile, add:

gem "view_component", require: "view_component/engine"

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

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