FindSoftware

ViewComponent

Ruby framework for building reusable, encapsulated view components in Ruby on Rails applications.

ViewComponent is a Ruby framework for building reusable, encapsulated view components in Ruby on Rails. A component is a Ruby class that wraps a template, and the getting-started guide installs the gem with a Gemfile entry. The project tests it against ERB, Haml and Slim templates, and translations use a sidecar YAML file.

The ViewComponent Team maintains the gem, and the repository belongs to the ViewComponent organization on GitHub.

Worth knowing

The homepage says version 4 is in Long-Term Support and considered feature-complete.

Identity

Status
Active
Maintainer
ViewComponent Team5
Maintained by
Community
First release
20194

Rendering and deploy

Install with
bundler (Gemfile)9

Releases

Current major version
410
Last release
2026-10-2710

Adoption

GitHub stars
3,5712
Contributors
30711
Dependent repositories
1,60212
Dependent packages
9212

Why these figures do not compare

Sources

  1. 2026-10-28: links
    viewcomponent.org
  2. 2026-10-28: links, Written in, License, License model, GitHub stars
    github.com/ViewComponent/view_component
  3. 2026-10-28: links, Categories, Built on
    github.com/ViewComponent/view_component/blob/main/README.md
  4. 2026-10-28: First release
    github.com/ViewComponent/view_component/releases/tag/v1.0.0
  5. 2026-10-28: Maintainer
    github.com/ViewComponent/view_component/blob/main/view_component.gemspec
  6. 2026-10-28: Runtime, Minimum runtime
    github.com/ViewComponent/view_component/blob/v4.20.0/view_component.gemspec
  7. 2026-10-28: Templating
    viewcomponent.org/compatibility.html
  8. 2026-10-28: Multilingual
    github.com/ViewComponent/view_component/blob/main/docs/guide/translations.md
  9. 2026-10-28: Install with
    github.com/ViewComponent/view_component/blob/main/docs/guide/getting-started.md
  10. 2026-10-28: Current major version, Last release
    github.com/ViewComponent/view_component/releases/tag/v4.20.0
  11. 2026-10-28: Contributors
    api.github.com/repos/ViewComponent/view_component/contributors
  12. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/view_component

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON