Icons
RUI::Icon
is a component that renders an icon from the tabler icons library. This component is used across the entire RUI library to render icons. The icon will take the dimensions of the parent element, so it is important to set the size of the parent element to control the size of the icon.
Parameters
RUI::Icon.new(icon, **attrs)
icon
(string) (required)
→ The tabler icon to be used for this link.
**attrs
(hash) (optional)
→ Any additional attributes to be applied to the <button> HTML element.