Module: LocoMotion::Concerns::LinkableComponent

Overview

Include this module to enable link functionality in a component. When an href is provided, the component will render as an tag.

Also pulls in TurboableComponent and ActionableComponent so every linkable component gains the turbo_frame, turbo_method, turbo_confirm, and action options for free — those Turbo and Stimulus data attributes only make sense on link/button elements.