Documentation

Icons

Icons are needed in almost any app. They add visual interest, while also helping users navigate your app easier.

Rails Designer uses the rails_icons gem to add icons to some of the component’s variants. Like so:

icon "x-mark", class: "size-4"

See this page for more details on rails_icons.