Link

Usage

<%= vt_link_to("/some/path") { "Go there" } %>

Variant

You can render a link with a different variant by passing the variant option.

<%= vt_link_to("/some/path", variant: :secondary) { "Go there" } %>

Available variants are

  • :default
  • :primary
  • :secondary
  • :outline
  • :ghost

See ActionView#link_to documentation