ViewComponent logo ViewComponent logo

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


See for documentation.


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.


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