Skip to content

Icons

Trek bundles ~40 SVG icons, rendered with Trek::IconComponent:

ruby
render Trek::IconComponent.new(:search)

Available keys include: add, arrow-bar-left, arrow-bar-right, bold, check, chevron-left, chevron-right, chevron-double, close, cursor, danger, download, eraser, eye, grid, hr, italic, layout, link, list, logout, paragraph, pic, profile, quotation, rating, redo, undo, search

MenuNode records can reference an icon via their icon_key to display it in the admin sidebar.

Released under the MIT License.