Links
RUI::Links
is a namespace containing link variants. Links will often be used with href
attributes to handle user interations.
Links are meant to navigate between different pages or sections, whereas buttons are meant to trigger actions within the current page.
Parameters
RUI::Links::[Variant].new(icon: nil, **attrs) { &block }
icon
(string) optional
→ The tabler icon to be used for this link.
**attrs
(hash) (optional)
→ Any additional attributes to be applied to the <a> HTML element.
&block
(block) (optional)
→ The text content to be displayed inside the link.
Variants
Link variants are listed below.