Icon

The whole Tabler set (3.19, outline and filled), inlined so icons take the text colour.

Helper
icon(
  name,
  size: 16,
  variant: :outline,  # or :filled
  label: nil,         # accessible name; omit for decorative icons
  **html
)

Use the Tabler name (file-text, alert-triangle; underscores work too). Icons are decorative and hidden from screen readers unless you pass label:. Buttons take icon: directly.

calendar target folder list search filter plus check x pencil trash copy download refresh settings lock building file-text clock alert-triangle info-circle chevron-down dots-vertical columns repeat

All icons

Every Tabler icon ships with the gem, outline and filled. Search the set and click an icon to copy its helper call.

6 ícones na letra Q · clique num ícone para copiar o código.

Options

OptionWhat it does
nameTabler icon name, or the name of an SVG in a configured icon path.
variant:outline (default, stroked) or :filled (solid; fewer icons have it).
sizePixels. 16 in controls, 14 for chevrons, 20 at most elsewhere.
labelAccessible name; makes the icon role=img instead of hidden.