https://cbennell.com/posts/rails-disable-able-button-component/
Rails "Disable-able" Button ViewComponent / Phlex Component — Christopher Bennell
Need a button that enables or disables itself in response to events? I explain how to build a reusable DisableableButton in Rails using ViewComponent (or...
railsdisablebuttonphlexcomponent
https://www.phlex.fun/
Phlex | View components in Ruby
Phlex is a Ruby gem for building stunning server-side rendered object-oriented view components.
view componentsphlexruby